I'm looking to observe BLE behaviour by running the contiki-ng example with NullNet, broadcast. I'm aware connectionless ble relies on scanning requests from the master and scan responses for the slave. However, I'm running into a set of issues:
- when I run the NullNet with BLE enabled I see no logs for it, as far as log.h file goes there are no log configurations for the ble-hal. I cant see whats happening on the low levels. mac layer log configurations are present but so far my shell only prints out the standard (sending x bytes to null address) which is a app layer log. I dont know if any connections are being made, i cant see any ble packets being sent out, and i cant see any ble packets being captured on a master device (ble terminal on my phone)
- there are no specific applications for ble in contiki-ng that runs both master and slave together, I want one specific node to be able switch between being a master and slave based on what packet it recieves. so far i can just find a client.c file but its heavily integrated with ipv6, which is what i dont want. I can probably configure my own server file (I looked into this github answer already https://github.com/contiki-ng/contiki-ng/issues/809, but once again, I want connectionless scanning and scan responses being enabled, plus this is integrated with ipv6 as well)
how can I set up my ble-l2cap+app layer files such that I can enable connectionless ble on two nodes?
- I tried using hash define to turn on mac layer logs but cant see anything
- I can probably configure my own server file (I looked into this github answer already https://github.com/contiki-ng/contiki-ng/issues/809, but once again, I want connectionless scanning and scan responses being enabled, plus this is integrated with ipv6 as well) but I'm looking for a well defined, standard compliant file since I dont want to be changing too much of the code.
more details: Im working with cc2650 sensortag and use target=simplelink, board=sensortag/cc2650 login to see the shell