Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ble_sensor: Serial Number can not be disabled #1

Open
nancwang opened this issue Jan 24, 2023 · 1 comment
Open

ble_sensor: Serial Number can not be disabled #1

nancwang opened this issue Jan 24, 2023 · 1 comment

Comments

@nancwang
Copy link

Hi,
I have Microchip bluetooth data (MBD) app running on Android.
I have a WBZ451 Curiosity Board. I git clone the project (commit 3275aeb). 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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants