Dear All,
I am a new user of DA14580. i am studying by following documnet UM-B-003:"DA14580 Software development guide". But in chapter "11.1 Create folder and files", It ask to create new files:"app_sample128.c, app_sample128.h, app_sample_task.c, app_sample_task.h" by myself. But i start to study BLE recently, i can't fix it. Could anyone give me a copy fo your code for refences. Thank you very much!
Thanks!
你好xlfz123, please can you explain in a bit more detail what you are looking for ? there is not enough information in the message to undersand what you need.
THanks & BR
JE_Dialog
嗨,JE_Dialog。
My project requirements is very simple. I plan to design a BLE peripheral device to connect smart phone like iphone or android. Smart phone could interval read BLE device data:
1, battery
2, custom sensor data
For battery, I hava made it by standard profile CFG_PRF_BASS. But for custom sensor data, I just need a simple way to read. I feel dialog sdk examples is too complex to me. Could you give me a simple example just include a service with two characteristic: one for read data, the other for write data.
Thank you!
Hello xlfz,123 , for a basic sensor example, please take a look at the dice reference design. You can download the source code from the support and the user manual is on the reference design page. This is using an accelerometer and we have a simple acceleromter profile define in the SDK (accel.c).
BR JE_Dialog.