zephyr rtos and some other question on ble:

I Have a peripheral over ble I have to question?

When the peripherl send a message ,(send a Notify  over ble) is possible to know  when the device  receive the Layer2  ACK ?

In this way I can make a mesure of the time I need for the transmittion  with the number of the L2 Repeatition ?

Is possible for  a peripheral to be connected from with a Central only if a central have a Particular "Name" ? So I can accept e/o filter the connection ?

 Thank And Best Regards

Novello G.

  • When the peripherl send a message ,(send a Notify  over ble) is possible to know  when the device  receive the Layer2  ACK ?

    The answer depends a bit on how low level you want to go, but from the documentation you can find for instance:

    Attribute value changes can be notified using bt_gatt_notify() API, alternatively there is bt_gatt_notify_cb() where is is possible to pass a callback to be called when it is necessary to know the exact instant when the data has been transmitted over the air.

    Is possible for  a peripheral to be connected from with a Central only if a central have a Particular "Name" ? So I can accept e/o filter the connection ?

    The peripheral can not do filtering on cental device name, the reason thsi is not possible is that there is no information in the packets (scan request and/or connect request) from the central that may provide information about the name of the central device. 

    Kenneth

Related