920MHz帯無線機モジュール ES920LR用ライブラリ いわゆるLoRaWAN
Dependents: HYBRYD2018_IZU_GROUND_STATION HYBRYD2018_IZU_ROCKET Hybrid_IZU201811_GNDv1 Hybrid_IZU2019 ... more
Diff: ES920LR.hpp
- Revision:
- 5:edea51bbe249
- Parent:
- 3:4e3a413e04d9
--- a/ES920LR.hpp Wed May 02 18:18:26 2018 +0000 +++ b/ES920LR.hpp Tue Feb 19 14:59:40 2019 +0000 @@ -212,12 +212,12 @@ ser->putc(sendBuff[i]); } //ser->printf("%s", sendBuff);//putcにすべきだった - _pc->printf("index: %d\r\n", sendIndex); - _pc->printf("send: "); + ////_pc->printf("index: %d\r\n", sendIndex); + ////_pc->printf("send: "); for (int i = 0; i < sendIndex; ++i) { - _pc->printf("%02X ", sendBuff[i]); + ////_pc->printf("%02X ", sendBuff[i]); } - _pc->printf("\r\n"); + ////_pc->printf("\r\n"); //初期化 @@ -448,11 +448,11 @@ //デバッグ //printf("%s ", rssi); for (int i = 0; i < 49; ++i) { - _pc->printf("%02X ", data[i]); + ////_pc->printf("%02X ", data[i]); } - _pc->printf("\r\n"); - _pc->printf("header: %02X\r\n", header); - _pc->printf("size: %d\r\n", dataSize); + ////_pc->printf("\r\n"); + ////_pc->printf("header: %02X\r\n", header); + ////_pc->printf("size: %d\r\n", dataSize); //ユーザー関数呼び出し if (p_callFunc[(uint8_t)header] != NULL) { @@ -462,7 +462,7 @@ else {//レスポンス responseFlag = 0; //デバッグ - _pc->printf("res %s\r\n", readBuffAddr); + ////_pc->printf("res %s\r\n", readBuffAddr); } }