mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-04 01:23:50 +03:00
- Generalize CryptoInterface.
- Add more HMAC and hash functions to CryptoInterface. - Add MeshCryptoInterface as a holder of mesh specific crypto functionality. - Rename broadcastMetadataDelimiter to metadataDelimiter in FloodingMesh since it is not just used for broadcasts, and to save some typing.
This commit is contained in:
@ -217,11 +217,11 @@ public:
|
||||
* Set the delimiter character used for metadata by every FloodingMesh instance.
|
||||
* Using characters found in the mesh name or in HEX numbers is unwise, as is using ','.
|
||||
*
|
||||
* @param broadcastMetadataDelimiter The metadata delimiter character to use.
|
||||
* @param metadataDelimiter The metadata delimiter character to use.
|
||||
* Defaults to 23 = End-of-Transmission-Block (ETB) control character in ASCII
|
||||
*/
|
||||
static void setBroadcastMetadataDelimiter(char broadcastMetadataDelimiter);
|
||||
static char broadcastMetadataDelimiter();
|
||||
static void setMetadataDelimiter(char metadataDelimiter);
|
||||
static char metadataDelimiter();
|
||||
|
||||
/*
|
||||
* Gives you access to the EspnowMeshBackend used by the mesh node.
|
||||
@ -274,7 +274,7 @@ private:
|
||||
|
||||
uint8_t _broadcastReceptionRedundancy = 2;
|
||||
|
||||
static char _broadcastMetadataDelimiter; // Defaults to 23 = End-of-Transmission-Block (ETB) control character in ASCII
|
||||
static char _metadataDelimiter; // Defaults to 23 = End-of-Transmission-Block (ETB) control character in ASCII
|
||||
|
||||
uint8_t _originMac[6] = {0};
|
||||
|
||||
|
Reference in New Issue
Block a user