This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Change Eddystone slot frame-type from application

Dear All,

I am trying to understand how I can change the frame type of an Eddystone slot at runtime directly from the application, so not connecting from the bluetooth mobile app. I am developing my application on top of the Eddystone example and I have seen how one can do this by default by changing the DEFAULT_FRAME_TYPE definition in the file "es_app_config.h". However I would like to be able to perform this operation at runtime.

I think I understand how to change tx power and even the frame data from the nrf_ble_es library, but not how to change the frame type. Can that be done at all?

Thank you very much.

Parents Reply
  • Hi vittopascu, may I ask how you managed to do that? I'm trying to do the same thing here and added a call to es_slot_on_write from the main.c for slot 0 with the new frame data as I would like to send. I see that the call does reach the configure_slot function (small debug-print) but it ends up in reporting a Fatal error. Do I need to call extra functions to get this working properly?

Children
Related