Add software AES encryption to RFM95 transport HAL (#1054)
Also clean up capabilities flags a bit and fix test-sketch for rfm95 to use proper encryption flag.
This commit is contained in:
@@ -85,6 +85,10 @@ MySensors options:
|
||||
Enables RFM69 encryption.
|
||||
All nodes and gateway must have this enabled, and all must be
|
||||
personalized with the same AES key.
|
||||
--my-rfm95-encryption-enabled
|
||||
Enables RFM95 encryption.
|
||||
All nodes and gateway must have this enabled, and all must be
|
||||
personalized with the same AES key.
|
||||
--my-rs485-serial-port=<PORT>
|
||||
RS485 serial port. You must provide a port.
|
||||
--my-rs485-baudrate=<BAUD> RS485 baudrate. [9600]
|
||||
@@ -450,6 +454,10 @@ for opt do
|
||||
encryption=true
|
||||
CPPFLAGS="-DMY_RFM69_ENABLE_ENCRYPTION $CPPFLAGS"
|
||||
;;
|
||||
--my-rfm95-encryption-enabled*)
|
||||
encryption=true
|
||||
CPPFLAGS="-DMY_RFM95_ENABLE_ENCRYPTION $CPPFLAGS"
|
||||
;;
|
||||
--my-rs485-serial-port=*)
|
||||
CPPFLAGS="-DMY_RS485_HWSERIAL=\\\"${optarg}\\\" $CPPFLAGS"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user