This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Running NanoRouter on Beaglebone issues

Other Parts Discussed in Thread: CC430F5137

Hi,

I am currently trying to run NanoRouter on Beaglebone. I followed the instructions from the CC-6LOWPAN-DK-868 and have configured the BeagleBone as an Edge Router.

My issue would be the following: The guidelines on the wiki page talk only about testing this configuration with the CC1180. However, I need to use it with CC430F5137-900. By browsing through the files from the "Beaglebone_Nanorouter_files", I can only see CC1180-related files (in the  /tools folder) and NAPSocket Files (in /last folder). Nothing related to CC430 or NanoSocket API (which from what I understood is needed to interface with CC430 devices, as NAPSocket API is only for CC1180).

So is it possible to run Nanorouter on BeagleBone to connect CC430F5137 nodes?

Also, since there is the problem with the OMAP_MUX directory missing in the newest versions of Kernel (mine appears as "Linux beaglebone 3.8.13") I have been trying to run the nanorouter application manually by typing "./nanorouter" while in the "/last" directory. Trying to manually run the nanorouter application on the beaglebone gives me the following:

------------STARTING CONFIGURATION SERVER Version: 2.0------------
------------STARTING 6ROUTED Version: 2.0------------
Server::socket_server_set_params: binding port number 50005
Configuration::constructor- handshake done!
 Core::get_address - found address with link local scope (looking for global)
New get address got: fe80:0000:0000:0000:d694:a1ff:fe87:a0cc

Core::read_config - create Ethernet interface by default
Ethernet::Device /dev/net/tun opened successfully
ConfSv::handshake - done!
Server::socket_server_set_params: binding port number 50004
Configuration::create_new_ifConfig - SUBGHz lowpan interface
InterfaceConfig::InterfaceConfig constructor aes: 00
InterfaceConfig::set_short_addr:
00 - 00
InterfaceConfig::get_type: 2
InterfaceConfig::get_type: 2
InterfaceConfig::get_type: 2
InterfaceConfig::get_channel- b

InterfaceConfig::get_type: 2
Core::netIf_create - Creating RF868MHz IF...
InterfaceConfig::get_type: 2
------------STARTING NAPSOCKETSERVER Version: 2.0------------
Server::socket_server_set_params: binding port number 50811
NAP_Socket_Interface constructor:: handshaking...
NAP_UART_Interface::start_socket_server- handshake done!
NAP_UART_Interface::nap_init - There are no devices in/dev/ttyUS
 NAP_UART_Interface::constructor - error in nap_init!
NAPSocketSERVER - Init fail!- exit status: 1
NAP_Socket_Interface constructor:: handshaking...
NAP_Socket_Interface::handshake - done!
NAP_Packet::create_config_request_set- OPERATION MODE: 00
NAP_Packet::create_config_request_set- No AES
Set opmode shutdown!
NetworkInterface::launch_socketServer - Error in NAPSocketServer of NetIf index$
Core::create interface - status: 0
Core::control_status - NAPSocketServer of NetIf index: 1 - exit status: 0
NAP_Interface::nap_start - Init failed
NAP_Socket_Interface constructor status: 29
----- DELETE NAP_Socket_Interface -------
-----------LOWPANInterface stop running-------------index: 01  (status: 0)!


LL ADDR:fe80::ff:fe00:0000/128
GP ADDR:fe80:0000:0000:0000::ff:fe00:0000/128
fragmenter destructor --- TODO

NanoRouter 2.0 - 6routed v2.0
WIFSIGNALED(status): 1

WTERMSIG(status): 11
WCOREDUMP(status): 0
WIFSTOPPED(status): 0
WSTOPSIG(status): 0
WIFCONTINUED(status): 0
NANOROUTER:: fail 6routed! => stop ConfSv and NAPSocketServers
WIFSIGNALED(status): 1
WTERMSIG(status): 9
WCOREDUMP(status): 0
WIFSTOPPED(status): 0
WSTOPSIG(status): 0
WIFCONTINUED(status): 0
NANOROUTER:: ConfSv exited!  => stop 6routed
Error sending signal SIGINT to 6routed, pid: 1476
NANOROUTER:: 6routed has been RELAUNCHED!
NANOROUTER:: ConfSv has been RELAUNCHED!
------------STARTING CONFIGURATION SERVER Version: 2.0------------
------------STARTING 6ROUTED Version: 2.0------------
Server::socket_server_set_params: binding port number 50005
ConfSv::handshake - trying a new port: 50005
Configuration::constructor- handshake done!
 Core::get_address - found address with link local scope (looking for global)
New get address got: fe80:0000:0000:0000:d694:a1ff:fe87:a0cc

Core::read_config - create Ethernet interface by default
Ethernet::Device /dev/net/tun opened successfully
ConfSv::handshake - done!
Server::socket_server_set_params: binding port number 50004
Configuration::create_new_ifConfig - SUBGHz lowpan interface
InterfaceConfig::InterfaceConfig constructor aes: 00
InterfaceConfig::set_short_addr:
00 - 00
InterfaceConfig::get_type: 2
InterfaceConfig::get_type: 2
InterfaceConfig::get_type: 2
InterfaceConfig::get_channel- b
InterfaceConfig::get_type: 2
Core::netIf_create - Creating RF868MHz IF...
InterfaceConfig::get_type: 2
------------STARTING NAPSOCKETSERVER Version: 2.0------------
Server::socket_server_set_params: binding port number 50811
NAP_Socket_Interface constructor:: handshaking...
NAP_UART_Interface::start_socket_server- handshake done!
NAP_UART_Interface::nap_init - There are no devices in/dev/ttyUS
 NAP_UART_Interface::constructor - error in nap_init!
NAPSocketSERVER - Init fail!- exit status: 1
NAP_Socket_Interface constructor:: handshaking...
NAP_Socket_Interface::handshake - done!
NAP_Packet::create_config_request_set- OPERATION MODE: 00
NAP_Packet::create_config_request_set- No AES
Set opmode shutdown!
NetworkInterface::launch_socketServer - Error in NAPSocketServer of NetIf indexCore::create interface - status: 0
Core::control_status - NAPSocketServer of NetIf index: 1 - exit status: 0
Nanorouter main - sig_interrupt
--------NANOROUTER CLOSED---------



I do not really understand what this command says but it seems to me as it is complaining about the NAP Socket API which I don`t need because I am not trying to connect a CC1180 device but a CC430 one. Can someone let me know what this might mean?

I am just starting with 6LoWPAN and Wireless in general so if I`ve been unclear or you need any further details about the problem please let me know.


Regards,

Silviu