Hi, I am trying to setup a SimpleClientServer on an Arduino Mega + RBL Shield. I set LOGGING upon compilation but the messages come out the Serial monitor without their identifier (DEBUG, INFO...) and some of them are missing completely. I attach the log so you can see it, I am particularly concerned about the missing "Created Light resource with result: %" confirmation message.
I have noticed that version 1.1 of Iotivity has undergone some changes regarding the logger, but I can't figure out where the problem is. Logs from the previous version seemed to work fine. Best regards. *F?bio Lima* *Infotainment & Software* *Electronics, ITS and HMI Division * * <rocio.otero at ctag.com>fabio.barbosa at ctag.com <fabio.barbosa at ctag.com>* *CTAG ? Automotive Technology Centre of Galicia* serverlog : ArduinoServer: 250: OCServer is starting... : OIC_RI_STACK: 1977: Entering OCInit : OIC_CA_CONN_MGR: 65: CAInitialize : OIC_CA_INF_CTR: 187: Set Receiver handle callback : OIC_CA_INF_CTR: 194: Set network handle callback : OIC_CA_INF_CTR: 201: Set error handle callback : OIC_CA_RETRANS: 328: thread initialize : OIC_CA_INF_CTR: 151: initialize adapters.. : OIC_CA_LE_ADAP: 1728: IN : OIC_CA_LE_ADAP: 1306: IN - CAInitLEAdapterMutex : OIC_CA_LE_ADAP: 1394: OUT : LENW: 55: IN : LENW: 56: OUT : LENW: 68: IN : LENW: 69: OUT : LEC: 30: IN : LEC: 31: OUT : LEC: 65: IN : LEC: 66: OUT : LEC: 35: IN : LEC: 36: OUT : LES: 169: IN : LES: 170: OUT : LES: 250: Initialize GATT Server : OIC_CA_LE_ADAP: 2555: IN : OIC_CA_LE_ADAP: 2561: OUT : LES: 212: IN : LES: 214: OUT : OIC_CA_LE_ADAP: 2566: IN : OIC_CA_LE_ADAP: 2574: OUT : LEC: 41: IN : LEC: 42: OUT : LES: 175: IN : LES: 176: OUT : OIC_CA_LE_ADAP: 2162: IN : LENW: 116: IN : LENW: 120: OUT : OIC_CA_LE_ADAP: 2191: OUT : OIC_CA_LE_ADAP: 1796: OUT : OIC_CA_NW_CONFIG: 60: Create network list : OIC_CA_NW_CONFIG: 74: Add network type(IP) - Not Supported : OIC_CA_NW_CONFIG: 90: Add network type(EDR) - Not Supported : OIC_CA_NW_CONFIG: 110: Add network type(LE) : OIC_CA_LE_ADAP: 1803: CAStartLE : OIC_CA_NW_CONFIG: 147: Add network type(NFC) - Not Supported : SRM: 275: SRMRegisterHandler !! : OIC_CA_CONN_MGR: 138: CARegisterHandler : OIC_CA_CONN_MGR: 101: CAStartListeningServer : OIC_CA_LE_ADAP: 1877: IN - CAStartLEListeningServer : LENW: 89: IN : LENW: 90: OUT : OIC_CA_LE_ADAP: 1628: Before CAStartLEGattServer : LES: 219: IN : LES: 154: IN : LES: 159: LEName Set : LES: 163: OUT Evt Device Started: Setup : LES: 147: NoData Evt Device Started: Standby Advertising started : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData LEAddress : e2:00:1b:de:cc:23 : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 236: OUT : OIC_CA_LE_ADAP: 1917: OUT : OIC_RI_STACK: 2027: Server mode: CAStartListeningServer : OIC_RI_STACK: 3076: Entering OCCreateResource : OIC_RI_OBSERVE: 107: Entering SendObserverNotification : OIC_RI_OBSERVE: 225: Resource has no observers : OIC_RI_STACK: 3076: Entering OCCreateResource : OIC_RI_STACK: 3076: Entering OCCreateResource : OIC_RI_STACK: 3076: Entering OCCreateResource : OIC_CA_LE_ADAP: 1979: IN : LES: 147: NoData : OIC_CA_LE_ADAP: 1983: OUT : OIC_CA_RETRANS: 239: retransmission main thread start : OIC_CA_RETRANS: 306: retransmission main thread end : OIC_CA_LE_ADAP: 1979: IN : LES: 147: NoData : OIC_CA_LE_ADAP: 1983: OUT : OIC_CA_RETRANS: 239: retransmission main thread start : OIC_CA_RETRANS: 306: retransmission main thread end : OIC_CA_LE_ADAP: 1979: IN -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160513/ca14204d/attachment.html> -------------- next part -------------- : ArduinoServer: 250: OCServer is starting... : OIC_RI_STACK: 1977: Entering OCInit : OIC_CA_CONN_MGR: 65: CAInitialize : OIC_CA_INF_CTR: 187: Set Receiver handle callback : OIC_CA_INF_CTR: 194: Set network handle callback : OIC_CA_INF_CTR: 201: Set error handle callback : OIC_CA_RETRANS: 328: thread initialize : OIC_CA_INF_CTR: 151: initialize adapters.. : OIC_CA_LE_ADAP: 1728: IN : OIC_CA_LE_ADAP: 1306: IN - CAInitLEAdapterMutex : OIC_CA_LE_ADAP: 1394: OUT : LENW: 55: IN : LENW: 56: OUT : LENW: 68: IN : LENW: 69: OUT : LEC: 30: IN : LEC: 31: OUT : LEC: 65: IN : LEC: 66: OUT : LEC: 35: IN : LEC: 36: OUT : LES: 169: IN : LES: 170: OUT : LES: 250: Initialize GATT Server : OIC_CA_LE_ADAP: 2555: IN : OIC_CA_LE_ADAP: 2561: OUT : LES: 212: IN : LES: 214: OUT : OIC_CA_LE_ADAP: 2566: IN : OIC_CA_LE_ADAP: 2574: OUT : LEC: 41: IN : LEC: 42: OUT : LES: 175: IN : LES: 176: OUT : OIC_CA_LE_ADAP: 2162: IN : LENW: 116: IN : LENW: 120: OUT : OIC_CA_LE_ADAP: 2191: OUT : OIC_CA_LE_ADAP: 1796: OUT : OIC_CA_NW_CONFIG: 60: Create network list : OIC_CA_NW_CONFIG: 74: Add network type(IP) - Not Supported : OIC_CA_NW_CONFIG: 90: Add network type(EDR) - Not Supported : OIC_CA_NW_CONFIG: 110: Add network type(LE) : OIC_CA_LE_ADAP: 1803: CAStartLE : OIC_CA_NW_CONFIG: 147: Add network type(NFC) - Not Supported : SRM: 275: SRMRegisterHandler !! : OIC_CA_CONN_MGR: 138: CARegisterHandler : OIC_CA_CONN_MGR: 101: CAStartListeningServer : OIC_CA_LE_ADAP: 1877: IN - CAStartLEListeningServer : LENW: 89: IN : LENW: 90: OUT : OIC_CA_LE_ADAP: 1628: Before CAStartLEGattServer : LES: 219: IN : LES: 154: IN : LES: 159: LEName Set : LES: 163: OUT Evt Device Started: Setup : LES: 147: NoData Evt Device Started: Standby Advertising started : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData LEAddress : e2:00:1b:de:cc:23 : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 147: NoData : LES: 236: OUT : OIC_CA_LE_ADAP: 1917: OUT : OIC_RI_STACK: 2027: Server mode: CAStartListeningServer : OIC_RI_STACK: 3076: Entering OCCreateResource : OIC_RI_OBSERVE: 107: Entering SendObserverNotification : OIC_RI_OBSERVE: 225: Resource has no observers : OIC_RI_STACK: 3076: Entering OCCreateResource : OIC_RI_STACK: 3076: Entering OCCreateResource : OIC_RI_STACK: 3076: Entering OCCreateResource : OIC_CA_LE_ADAP: 1979: IN : LES: 147: NoData : OIC_CA_LE_ADAP: 1983: OUT : OIC_CA_RETRANS: 239: retransmission main thread start : OIC_CA_RETRANS: 306: retransmission main thread end : OIC_CA_LE_ADAP: 1979: IN : LES: 147: NoData : OIC_CA_LE_ADAP: 1983: OUT : OIC_CA_RETRANS: 239: retransmission main thread start : OIC_CA_RETRANS: 306: retransmission main thread end : OIC_CA_LE_ADAP: 1979: IN
