Robert May
Robert May
I'd also like to be able to specify the interface used for the actual update. OpenDNS https://www.opendns.com/ uses the dyndns2 protocol to update dynamic IPs to DNS mapping for application...
OK, let me focus on (1) for now. I'm new to this codebase and the Sonos terminology in the last 24 hours, so apologies in advance if I'm asking stupid...
Just for the record I have been using this extension to DiscoveredCharacteristics, which is very similar to your proposed DiscoveredCharacteristic::enableNotification(): ``` ble_error_t DiscoveredCharacteristic::requestHVX(HVXType_t type) const { if (!props.write()) { return...
And, of course, having posted that I see that the second test in not correct for indications, that have their own property. But you get the idea.
Update, this is what I'm currently using: ``` cpp DiscoveredCharacteristic::requestHVX(HVXType_t type) const { if (type == BLE_HVX_NOTIFICATION && !props.notify()) { return BLE_ERROR_OPERATION_NOT_PERMITTED; } if (type == BLE_HVX_INDICATION && !props.indicate()) {...