Search found 2 matches

by valeroso
Sun Jun 08, 2025 10:46 pm
Forum: General Discussion
Topic: BLE cannot send the correct temperature measurement char value 0x2A1C
Replies: 1
Views: 851

Re: BLE cannot send the correct temperature measurement char value 0x2A1C

You need to send in P2 format: 25.6 * 100 = 2560.

Code: Select all

int16_t value = htole16(2560);
int error = os_mbuf_append(ctx->om, &value, sizeof value);
by valeroso
Thu Jan 16, 2025 8:28 pm
Forum: ESP-IDF
Topic: NimBLE whitelist not working
Replies: 1
Views: 1752

Re: NimBLE whitelist not working

You're using the wrong filter value. If you want to allow connections only from whitelisted devices the value should be one of:
0x02 - Process scan requests from all devices and
connection requests only from devices that are in the Filter Accept List.
0x03 - Process scan and connection requests ...

Go to advanced search