2020-12-19 12:33 AM
1. if i read and write characteristic in the service its working fine
Regards
Manukumar
2020-12-23 08:22 PM
Thanks for your response , Winfred if we using BLE As the network mode processor (acts as a peripheral Device ) and its communicated with external MCU through uart , the uart interrupt data received the received data stored in list . in these case The list File going to build . I Am Referring Below st example project
Example project like Project / STM32L/ BLE_SENSOR DEMO_NWK
here i am using same ST list implementation , but i am not editing single line . The same implementation work properly when i Configured St Eval board (steval -idb008v1m ) BLE (BLE NRG M2SA) As a network mode ,and its communicating external mcu (STM32L151CBU6) through UART with 115200 baud rate ,
BUT in present Solution We are Change BLE CHIP BLE NRG M2SP instead of BLE NRG M2SA . when i building DTM network mode Image , i Considered all the Predefined macro like inductor on and internal RO .
Can you suggest me if i missed any thing .
can you share us characteristic read and Write commands exchange sequence stare diagram , its help me lot .
here i attaching ble Schematic.
Regards
Manukumar
2020-12-24 10:18 PM
The BLUENRG-M2SA module has:
The DTM project shall be customized defining as following:
On the other hand, the BLUENRG-M2SP module has:
The DTM project shall be instead customized as:
---
There is no state diagram for characteristics reading or writing. After connection is established, application may read and write whenever it is needed.
To read a characteristic value, it would be ok to use ACI_GATT_READ_CHAR_VALUE with corresponding attribute handle:
To write a characteristic value, it would be ok to use ACI_GATT_WRITE_CHAR_VALUE with corresponding attribute handle: