File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
examples/SerialToSerialBLE_Secure Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 66// #include <etl/circular_buffer.h>
77
88BLESerial SerialBLE;
9- // If you are using older version of Arduino IDE, you may need to use
10- // empty template argument (<>), due to the old C++ compiler version (<=std=c++17).
9+ // If you are using an older version of Arduino IDE or C++ compiler, you may need to use
10+ // an empty template argument (<>), as Class Template Argument Deduction (CTAD) is not
11+ // supported in C++ versions older than C++17. For more details, see:
1112// https://www.cppreference.com/w/cpp/language/ctad.html
1213//
13- // Uncomment the line below if you are using an older version of Arduino IDE
14+ // Uncomment the line below if you are using an older version of Arduino IDE/C++ compiler
1415// BLESerial<> SerialBLE;
1516
1617// FOR ETL: Uncomment one of the following lines
1718// BLESerial<etl::queue<uint8_t, 255, etl::memory_model::MEMORY_MODEL_SMALL>> SerialBLE;
1819// OR
1920// BLESerial<etl::circular_buffer<uint8_t, 255>> SerialBLE;
2021
21- uint32_t passKey;
22-
2322class AppSecurityCallbacks : public BLESecurityCallbacks {
2423 public:
2524 AppSecurityCallbacks () {
You can’t perform that action at this time.
0 commit comments