I am working on Ble tutorial of serivces, In step1 they mentioned to declare m_our_service
of type ble_os_t. how can I declare that ?I am not sure to consider m_our_service as int/char/float!!?
I am working on Ble tutorial of serivces, In step1 they mentioned to declare m_our_service
of type ble_os_t. how can I declare that ?I am not sure to consider m_our_service as int/char/float!!?
ashokraj: I am assuming that you're referring to this tutorial.
I recommend that you take a look at the tutorials Github page, nrf51-ble-tutorial-service, specifically the our_service.h file, where the ble_os_t struct is declared.
Hence, declaring a m_our_service of type ble_os_t is simply
ble_os_t m_our_service;
Best regards
Bjørn
ashokraj: I am assuming that you're referring to this tutorial.
I recommend that you take a look at the tutorials Github page, nrf51-ble-tutorial-service, specifically the our_service.h file, where the ble_os_t struct is declared.
Hence, declaring a m_our_service of type ble_os_t is simply
ble_os_t m_our_service;
Best regards
Bjørn