You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented (copied) the serial-line.[ch] files into my project, they build fine. I call the init function, and I understand that I need to connect the actual input of characters into the serial-line module with a callback.
Here is what I am missing: what is this input interface? I've seen someone suggesting using uart0, but I cannot find uart0_set_input() for ContikiMotes. I cannot find how to setup baudrate for that interface either.
I've tried with Cooja platform's rs232 (copied a bunch of files such as rs232.[ch], simEnvChange.[ch]), with no success (tried all the defined speeds):
I am trying to send data (or rather commands) from the Cooja test script, to the firmware in the simulated nodes.
Node type: ContikiMote
Here is the mote type definition:
I have implemented (copied) the
serial-line.[ch]
files into my project, they build fine. I call the init function, and I understand that I need to connect the actual input of characters into the serial-line module with a callback.Here is what I am missing: what is this input interface? I've seen someone suggesting using uart0, but I cannot find
uart0_set_input()
for ContikiMotes. I cannot find how to setup baudrate for that interface either.I've tried with Cooja platform's rs232 (copied a bunch of files such as
rs232.[ch]
,simEnvChange.[ch]
), with no success (tried all the defined speeds):How do I connect and setup a ContikiMote serial input interface to the serial-input module, in the node's code?
The text was updated successfully, but these errors were encountered: