Microchip-MPLAB-Harmony / wireless_apps_pic32cxbz2_wbz45

Other
2 stars 4 forks source link

ble_sensor: Serial Number can not be disabled #1

Open nancwang opened 1 year ago

nancwang commented 1 year ago

Hi, I have Microchip bluetooth data (MBD) app running on Android. I have a WBZ451 Curiosity Board. I git clone the project (commit 3275aebe05b5982502ba79794036a872d3e6f811). I opened the project with MPLABX IDE 6.05 and did clean and build. By running the firmware app in the device, with running MBD app, I noticed there are three characteristics fields with device information, Manufacturer, Model and Firmware. As a test of making change, I enabled macro #define DIS_SERIAL_NUM_ENABLE in ble_dis.h. And did clean and build again. I noticed the device has 4 fields, Manufacturer, Model, Serial and Firmware. It was good so far. Issue is coming, I disabled the macro #define DIS_SERIAL_NUM_ENABLE in ble_dis.h, eg, restore the original code and did clean and build again. by checking, I still see 4 charcteristics fields. I was expecting 3 fields in my mind. With checing the details for each of them, Manufacturer and Model fields are fine. The the "Serial Number String has "Firmware Revision String" and "Firmware Revision String" is empty. I attach screenshot from MBD app on mobile. How I can remover "serial number" filed? I did addtional few more arounds of clean and build but could not remover serial number field. issue_firmware_serial

Nancy

joeostrander commented 10 months ago

I've seen similar issues that were due to ios caching GATT characteristic info.