This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Port nRF51-ble-bcast-mesh-master to RedBear Lab BLE Nano

I use Keil uVision 4.74.0.22 to compile nRF51-ble-bcast-mesh-master with nrf51_sdk_v6_1_0_b2ec2e6 and get the rbc_mesh_BLE_Gateway.hex. However, I drag and drop the hex file to MBED drive and it's not working. I heard that uVision trial version only support 32KB firmware size. Would that be the problem?

Parents Reply Children
  • Thanks for the tip. I got rbc_mesh_BLE_Gateway working by merging it with s110_nrf51822_7.3.0_softdevice (didn't know merge is required). However, rbc_mesh_led_example is not working and I found that its main.c doesn't include nrf_adv_conn_init(). Would that be the problem?

  • @Max: How did you test the LED example ?

    Note that the BLE_Gateway allow a phone to connect and join the network, that's why we have nrf_adv_conn_init() so that BLE central device can connect and control the other nodes.

    In the LED example, they only do broadcast mesh, won't allow connection. The control is either from button press, or from a phone connected to the BLE Gateway.

  • I see. Previously, I was expecting to see advertising packets from LED example. Now I can turn LED on/off on LED example by writing LED1 value characteristic on Gateway example.

    Because I still can't see any rebroadcasting packets, I am wondering how the change of LED1 value on Gateway example got to propagate to other nodes?

  • @Max: Currently the packet between LED-Mesh is not BLE compatible. We have the option RBC_MESH_PACKET_FORMAT_ADV_COMPATIBLE for the init_params.packet_format but it's under development not ready yet.

  • As of the 0.7.x release on the sdk-8-support branch of the ble-bcast-mesh , the format of the advertising has been made compatible with Bluetooth 4.0 and uses the Service Data AD type. See github.com/.../how_it_works.adoc

Related