Dear All,

I was debugging issue that device is disconnected.

I guess that root cause is below log. (Refer to *RED* color)

==================================================
INFO: ocresource: Extracting params from rt=core.light
INFO: ocresource: Extracted params
*FATAL: OCStack: Generate UUID for Server Instance failed!*
INFO: ocresource: /oic/ad not ACTIVE or DISCOVERABLE
INFO: ocresource: /oic/d does not contain rt=core.light.
==================================================

Error code is as below.
<Iotivity>/resource/csdk/stack/src/ocstack.c
<Iotivity>/resource/csdk/security/src/doxmeresource.c const OicUuid_t*
OCGetServerInstanceID(void)
{
    static bool generated = false;
    static OicUuid_t sid;
    if (generated)
    {
        return &sid;
    }

    if (*GetDoxmDeviceID*(&sid) != OC_STACK_OK)
    {
        OC_LOG(FATAL, TAG, "Generate UUID for Server Instance failed!");
        return NULL;
    }
    generated = true;
    return &sid;
} ==> /**
 * This method returns the SRM device ID for this device.
 *
 * @retval  OC_STACK_OK for Success, otherwise some error value
 */
OCStackResult *GetDoxmDeviceID*(OicUuid_t *deviceID)
{
    if(deviceID && *gDoxm*)
    {
       *deviceID = gDoxm->deviceID;
        return OC_STACK_OK;
    }
    return OC_STACK_ERROR;
}
gDoxm is NULL.
So, errro occurs.

gDoxm creation flow is as below.

<Iotivity>/resource/csdk/stack/src/ocstack.c
<Iotivity>/resource/csdk/stack/src/ocstack.c
<Iotivity>/resource/csdk/security/src/securesourcemanager.c
<Iotivity>/resource/csdk/security/src/securesourcemanager.c OCStackResult
*OCInit1*(OCMode mode, OCTransportFlags serverFlags, OCTransportFlags
clientFlags)
{
    ?????
    //Update Stack state to initialized
    stackState = OC_STACK_INITIALIZED;

    // Initialize resource
    if(myStackMode != OC_CLIENT)
    {
        result = initResources();
    }
    ?????
} ==> OCStackResult *initResources*()
{
    ?????
#ifndef WITH_ARDUINO
    if (result == OC_STACK_OK)
    {
        result = SRMInitSecureResources();
    }
#endif
    ?????
} ==> OCStackResult *SRMInitSecureResources*()
{
    // TODO: temporarily returning OC_STACK_OK every time until default
    // behavior (for when SVR DB is missing) is settled.
    InitSecureResources();

#if defined(__WITH_DTLS__)
    CARegisterDTLSCredentialsHandler(GetDtlsPskCredentials);
#endif // (__WITH_DTLS__)
#if defined(__WITH_X509__)
    CARegisterDTLSX509CredentialsHandler(GetDtlsX509Credentials);
    CARegisterDTLSCrlHandler(GetDerCrl);
#endif // (__WITH_X509__)

    return OC_STACK_OK;
} ==> /**
 * Initialize all secure resources ( /oic/sec/cred, /oic/sec/acl,
/oic/sec/pstat etc).
 *
 * @retval  OC_STACK_OK for Success, otherwise some error value
 */
OCStackResult *InitSecureResources*( )
{
    OCStackResult ret;
    /*
     * doxm resource should be initialized first as it contains the DeviceID
     * which MAY be used during initialization of other resources.
     */
    ret = InitDoxmResource();
Because condition of "#ifndef WITH_ARDUINO" code. gDoxm doesn't created.
(Refer to GREEN color on "Step 2" )

WITH ARDUINO has been defined in
"<Iotivity>/resource/csdk/arduinomega.properties".

So, ((OCDiscoveryPayload*)payload)->sid is NULL.

<Iotivity>/resource/csdk/stack/src/ocresource.c static OCStackResult
HandleVirtualResource (OCServerRequest *request, OCResource* resource)
{
    ?????
        if (discoveryResult == OC_STACK_OK)
        {
            payload = (OCPayload*)OCDiscoveryPayloadCreate();

            if(payload)
            {
                ((OCDiscoveryPayload*)payload)->sid =
(uint8_t*)OICCalloc(1, UUID_SIZE);
                memcpy(((OCDiscoveryPayload*)payload)->sid,
OCGetServerInstanceID(), UUID_SIZE);

                bool foundResourceAtRD = false;
    ?????
}
I guess that sid is very important.
Client sent discovery message and then receive response.
But client cannot finish about this flow because sid is NULL (or garbage)
on response message.

I'm not sure my opinion is correct.
I will plan continue debugging.

Please let me know if you have any other comments.

Best regards,
ST Kang

2015-12-28 0:46 GMT+09:00 Roy Kang <roykang75 at gmail.com>:

> Dear All,
>
> I am very interested Iotivity Project.
> So, i try test between Arduino mega and Anrdroid via BLE using master
> branch(20151227)
> (example: SimpleClientServer)
>
> Arduino environment: Arduino Mega 2560 + RedBearLab BLE Shield v2.1.
> Android environment: Andorid 5.0.2 (LG G PAD)
>
> Step 1) Run arduino.
> Step 2) Run SimpleClient app on Android and then click "START".
>
> When viewing the log, device found.
> After server sent response to client, devices is disconnected.
>
> ==================================================================
> data transmmit success!  Length: 20    Data Credit available: 1
> Pipe Number: 3
> Pipe Number: 3
> Pipe Number: 3
> Evt Disconnected/Advertising timed out
> Advertising started
> data transmmit success!  Length: 2    Data Credit available: 1
> ACI Evt Pipe Error: Pipe #:4  Pipe Error Code: 0x83
> Data Credit available: 2
> ==================================================================
>
> I don't know why occurs this problem.
> Could anybody help me ?
>
> Full log is attached.
>
> Best regards.
> ST Kang.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151228/f95bcac9/attachment.html>
-------------- next part --------------

DEBUG: ArduinoServer: OCServer is starting...
INFO: OCStack: Entering OCInit
DEBUG: CA_CONN_MGR: 65: CAInitialize
DEBUG: CA_INTRFC_CNTRLR: 212: IN
DEBUG: CA_INTRFC_CNTRLR: 216: OUT
DEBUG: CA_INTRFC_CNTRLR: 221: IN
DEBUG: CA_INTRFC_CNTRLR: 225: OUT
DEBUG: CA_INTRFC_CNTRLR: 230: Set error handle callback
DEBUG: CA_RETRANS: 328: thread initialize
DEBUG: CA_INTRFC_CNTRLR: 179: initialize adapters..
DEBUG: LAD: 1633: IN
DEBUG: LAD: 1307: IN
DEBUG: LAD: 1395: OUT
DEBUG: LENW: 55: IN
DEBUG: LENW: 56: OUT
DEBUG: LENW: 68: IN
DEBUG: LENW: 69: OUT
DEBUG: LEC: 30: IN
DEBUG: LEC: 31: OUT
DEBUG: LEC: 35: IN
DEBUG: LEC: 36: OUT
DEBUG: LES: 150: IN
DEBUG: LES: 151: OUT
DEBUG: LAD: 2313: IN
DEBUG: LAD: 2319: OUT
DEBUG: LES: 193: IN
DEBUG: LES: 195: OUT
DEBUG: LAD: 2324: IN
DEBUG: LAD: 2332: OUT
DEBUG: LEC: 41: IN
DEBUG: LEC: 42: OUT
DEBUG: LES: 156: IN
DEBUG: LES: 157: OUT
DEBUG: LAD: 2000: IN
DEBUG: LENW: 109: IN
DEBUG: LENW: 113: OUT
DEBUG: LAD: 2023: OUT
DEBUG: CA_INTRFC_CNTRLR: 96: IN
DEBUG: CA_INTRFC_CNTRLR: 124: OUT
DEBUG: LAD: 1685: OUT
DEBUG: CA_NW_CONFIG: 45: IN
DEBUG: CA_NW_CONFIG: 48: Create network list
DEBUG: CA_NW_CONFIG: 62: Add network type(IP) - Not Supported
DEBUG: CA_NW_CONFIG: 45: IN
DEBUG: CA_NW_CONFIG: 76: Add network type(EDR) - Not Supported
DEBUG: CA_NW_CONFIG: 45: IN
DEBUG: CA_NW_CONFIG: 94: Add network type(LE)
DEBUG: LAD: 1692: CAStartLE
DEBUG: CA_NW_CONFIG: 137: OUT
DEBUG: SRM: SRMRegisterHandler !!
DEBUG: CA_CONN_MGR: 138: CARegisterHandler
DEBUG: CA_CONN_MGR: 101: CAStartListeningServer
DEBUG: CA_INTRFC_CNTRLR: 470: IN
DEBUG: LAD: 1751: IN
DEBUG: LENW: 82: IN
DEBUG: LENW: 83: OUT
DEBUG: LES: 200: IN
DEBUG: LES: 135: IN
DEBUG: LES: 140: LEName Set
DEBUG: LES: 144: OUT
Evt Device Started: Setup
DEBUG: LES: 128: NoData
Evt Device Started: Standby
Advertising started
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
LEAddress :
d3:58:85:7b:b4:bb
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 128: NoData
DEBUG: LES: 217: OUT
DEBUG: LAD: 1783: OUT
DEBUG: CA_INTRFC_CNTRLR: 512: OUT
INFO: OCStack: Server mode: CAStartListeningServer
INFO: OCStack: Entering OCCreateResource
INFO: OCStack: Added type oic.wk.ad to /oic/ad
INFO: OCStack: Binding core.r interface to /oic/ad
INFO: OCStackObserve: Entering SendObserverNotification
INFO: OCStackObserve: Resource has no observers
INFO: OCStack: Entering OCCreateResource
INFO: OCStack: Added type oic.wk.d to /oic/d
INFO: OCStack: Binding oic.if.baseline interface to /oic/d
INFO: OCStack: Binding oic.if.r interface to /oic/d
INFO: OCStack: Entering OCCreateResource
INFO: OCStack: Added type oic.wk.p to /oic/p
INFO: OCStack: Binding oic.if.baseline interface to /oic/p
INFO: OCStack: Binding oic.if.r interface to /oic/p
ERROR: SRM-AMSMGR: FreeCARequestInfo: Can't free memory. Received N
INFO: OCStack: Entering OCCreateResource
INFO: OCStack: Added type core.light to /a/light
INFO: OCStack: Binding oic.if.baseline interface to /a/light
INFO: ArduinoServer: Created Light resource with result: OC_STACK_OK
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
Evt Connected
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
Evt Pipe Status
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
Evt Pipe Status
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4858
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3830
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
Pipe Number: 3
DEBUG: LES: 76: IN
DEBUG: CA_FRAGMENTATION: 72: IN
DEBUG: CA_FRAGMENTATION: 83: OUT
DEBUG: LES: 98: OUT
DEBUG: LES: 102: IN
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 124: OUT
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4904
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3784
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4904
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3784
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
DEBUG: LES: 128: NoData
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4904
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3784
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
Pipe Number: 3
DEBUG: LES: 102: IN
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 124: OUT
DEBUG: LAD: 1840: OUT
DEBUG: CA_INTRFC_CNTRLR: 657: OUT
DEBUG: CA_RETRANS: 239: retransmission main thread start
DEBUG: CA_RETRANS: 306: retransmission main thread end
INFO: ArduinoServer: Stack: 8688         Heap: 4904
INFO: ArduinoServer: Unallocated Memory between heap and stack: 3784
DEBUG: CA_INTRFC_CNTRLR: 623: IN
DEBUG: LAD: 1836: IN
Pipe Number: 3
DEBUG: LES: 102: IN
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 105: In While loop
DEBUG: LES: 109: Read Comp BLE Pckt
DEBUG: LAD: 2205: IN
DEBUG: CA_INTRFC_CNTRLR: 137: IN
DEBUG: CA_MSG_HNDLR: 716: received pdu data :
DEBUG: CA_MSG_HNDLR: 58 01 A2 B4 F9 87 1F C6 3A 5F 31 A1 B3 6F 69 63
DEBUG: CA_MSG_HNDLR: 03 72 65 73 4D 00 72 74 3D 63 6F 72 65 2E 6C 69
DEBUG: CA_MSG_HNDLR: 67 68 74 21 3C E4 FE D6 00 00 00 00
DEBUG: CA_MSG_HNDLR: 123: CAGenerateHandlerData IN
DEBUG: CA_MSG_HNDLR: 209: Request Info :
DEBUG: CA_MSG_HNDLR: 1294: token:
DEBUG: CA_MSG_HNDLR: F9 87 1F C6 3A 5F 31 A1
DEBUG: CA_MSG_HNDLR: 349: CAProcessReceivedData IN
INFO: OCStack: Enter HandleCARequests
DEBUG: RM_UTIL: IN
DEBUG: RM_UTIL: IN
DEBUG: RM_UTIL: Request- optionID: 65524
INFO: RM_UTIL: Found Option at 0
DEBUG: RM_UTIL: OUT
DEBUG: RM_UTIL: OUT
INFO: OCStack: Endpoint URI : /oic/res?rt=core.light
INFO: OCStack: URI without query: /oic/res
INFO: OCStack: Query : rt=core.light
INFO: OCStack: F9 87 1F C6 3A 5F 31 A1
INFO: OCStackObserve: No options present
INFO: OCStack: Entering HandleStackRequests (OCStack Layer)
INFO: ocserverrequest: Get server request with token
INFO: ocserverrequest: F9 87 1F C6 3A 5F 31 A1
INFO: ocserverrequest: Found token
ERROR: ocserverrequest: Server Request not found!!
INFO: OCStack: This is a new Server Request
INFO: ocserverrequest: addserverrequest entry!! [:0]
INFO: ocserverrequest: Server Request Added!!
INFO: OCStack: This Server Request is complete
INFO: ocresource: DetermineResourceHandling for /oic/res
INFO: ocresource: /oic/res is virtual
INFO: ocresource: Entering HandleVirtualResource
INFO: ocresource: Extracting params from rt=core.light
INFO: ocresource: Extracted params
FATAL: OCStack: Generate UUID for Server Instance failed!
INFO: ocresource: /oic/ad not ACTIVE or DISCOVERABLE
INFO: ocresource: /oic/d does not contain rt=core.light.
INFO: ocresource: /oic/p does not contain rt=core.light.
INFO: OCStack: Entering OCDoResponse
INFO: OCPayloadConvert: Converting payload of type 1
DEBUG: RM_UTIL: IN
DEBUG: RM_UTIL: IN
ERROR: RM_UTIL: Invalid input:options
INFO: RM_UTIL: Route option is not present
DEBUG: RAP: IN
DEBUG: RAP: createoption dlen 0 slen [0]
INFO: RAP: Option Length is 4
DEBUG: RAP: OUT
DEBUG: RM_UTIL: OUT
DEBUG: CA_CONN_MGR: 276: CASendResponse
DEBUG: CA_MSG_HNDLR: 885: CAPrepareSendData IN
DEBUG: CA_MSG_HNDLR: 416: Unicast message
DEBUG: CA_MSG_HNDLR: 438: responseInfo is available..
DEBUG: CA_PRTCL_MSG: F9 87 1F C6 3A 5F 31 A1
DEBUG: CA_PRTCL_MSG: 403: payload is added
DEBUG: CA_MSG_HNDLR: 1265: PDU Maker - token :
DEBUG: CA_MSG_HNDLR: F9 87 1F C6 3A 5F 31 A1
DEBUG: CA_INTRFC_CNTRLR: 364: IN
DEBUG: LAD: 1848: IN
DEBUG: LAD: 2107: IN
DEBUG: CA_FRAGMENTATION: 37: IN
DEBUG: CA_FRAGMENTATION: 65: OUT
data transmmit success!  Length: 20    Data Credit available: 1
Pipe Number: 3
Pipe Number: 3
Pipe Number: 3
Evt Disconnected/Advertising timed out
Advertising started
data transmmit success!  Length: 2    Data Credit available: 1
ACI Evt Pipe Error: Pipe #:4  Pipe Error Code: 0x83
Data Credit available: 2

Reply via email to