6LoWPAN-api

Version 2 (6lowpan group from 18-748 -, 05/05/2010 10:14 pm)

1 1 6lowpan group from 18-748 -
= Nano-RK 6LoWPAN API =
2 1 6lowpan group from 18-748 -
3 1 6lowpan group from 18-748 -
 * '''void _6lp_task_config ()'''
4 1 6lowpan group from 18-748 -
    * This function configures 6LoWPAN and starts up the necessary tasks.  This should be called before Nano-RK starts up.
5 1 6lowpan group from 18-748 -
6 1 6lowpan group from 18-748 -
 * '''int8_t _6lp_init(uint8_t chan)'''
7 1 6lowpan group from 18-748 -
    * This function starts 6LoWPAN.  ''chan'' refers to the radio channel that packets will be sent on. Returns 1 upon success, -1 otherwise.
8 2 6lowpan group from 18-748 -
9 2 6lowpan group from 18-748 -
 * '''int8_t udp_socket()'''
10 2 6lowpan group from 18-748 -
    * 
11 2 6lowpan group from 18-748 -
12 2 6lowpan group from 18-748 -
 * '''int8_t udp_bind(int8_t sock_num, int16_t port)'''
13 2 6lowpan group from 18-748 -
    * 
14 2 6lowpan group from 18-748 -
15 2 6lowpan group from 18-748 -
 * '''int8_t udp_send(int8_t sock_num, struct pkt_buff *pktb, int8_t len, struct ipv6_addr *dest_addr, int16_t dest_port)'''
16 2 6lowpan group from 18-748 -
    * 
17 2 6lowpan group from 18-748 -
18 2 6lowpan group from 18-748 -
 * '''int8_t udp_receive(int8_t sock_num, struct pkt_buff *pktb)'''
19 2 6lowpan group from 18-748 -
    * 
20 2 6lowpan group from 18-748 -
21 2 6lowpan group from 18-748 -
 * '''int8_t udp_release(int8_t sock_num)'''
22 2 6lowpan group from 18-748 -
    *