How to send a packet with Contiki using uip? -


i'm looking way send packets contiki using uip interface. give idea of current state, feel blind man bangs against walls. below code shows do. if share hint grateful.

process(allo_process, "allo process"); autostart_processes(&allo_process); process_thread(allo_process, ev, data) {     process_begin();     sensors_activate(button_sensor);     (;;) {         process_wait_event();         if (ev == sensors_event && data == &button_sensor) {             uip_send("allo", 4);         }     }     process_end(); } 

edit

i managed send packets rime interface using example: contikidoc. people care, don't forget add line makefile: contiki_with_rime = 1. packets printed "radio messages" panel.

however, original question remains open: how use uip interface? tried reproduce first example in doc part of code missing :-/


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -