This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

i am creating meshnetworkmanager by importing data by json parsing, which contain the provisoning data of nrf device, But i am not able to connect to the nrf device with those data, while i am trying send message to device, bearer is closed message appear.

2020-06-08 16:20:39.229628+0530 OperationApp[3306:1831777] [Bearer] Central Manager state changed to .poweredOn

2020-06-08 16:20:39.635195+0530 OperationApp[3306:1831777] [Bearer] Connecting to LCC_1.2.0_DK_Devive...

2020-06-08 16:20:43.718817+0530 OperationApp[3306:1831777] [Bearer] Connected to LCC_1.2.0_DK_Devive

2020-06-08 16:20:43.719543+0530 OperationApp[3306:1831777] [Bearer] Discovering services...

2020-06-08 16:20:46.438817+0530 OperationApp[3306:1831777] [Bearer] Service found

2020-06-08 16:20:46.438970+0530 OperationApp[3306:1831777] [Bearer] Discovering characteristrics...

2020-06-08 16:20:47.924529+0530 OperationApp[3306:1831777] [Bearer] Data In characteristic found

2020-06-08 16:20:47.924702+0530 OperationApp[3306:1831777] [Bearer] Data Out characteristic found

2020-06-08 16:20:47.925019+0530 OperationApp[3306:1831777] [Bearer] Enabling notifications...

2020-06-08 16:20:49.407094+0530 OperationApp[3306:1831777] [Bearer] Data Out notifications enabled

2020-06-08 16:20:49.407248+0530 OperationApp[3306:1831777] [Bearer] GATT Bearer open and ready

MessageHandle(opCode: 33282, source: 1, destination: 3, manager: Optional(nRFMeshProvision.MeshNetworkManager))

2020-06-08 16:21:03.586766+0530 OperationApp[3306:1832610] [Model] Sending GenericIntensitySet(tid: Optional(222), level: 70, transitionTime: nil, delay: nil) from: Element 0 (0x0001), to: 0003

2020-06-08 16:21:03.588588+0530 OperationApp[3306:1832610] [Access] Sending Access PDU (opcode: 0x8202, parameters: 0x4600000000000000DE)

2020-06-08 16:21:03.593712+0530 OperationApp[3306:1832610] [UpperTransport] Sending Upper Transport PDU (encrypted data: 0x2D5A78C3456014127395C4, transMic: 0x90B4B412) encrypted using key: App Key 1 (index: 0)

2020-06-08 16:21:03.595360+0530 OperationApp[3306:1832610] [LowerTransport] Sending Access Message (akf: 1, aid: 0x07, szmic: 0, data: 0x2D5A78C3456014127395C490B4B412)

2020-06-08 16:21:03.602218+0530 OperationApp[3306:1832610] [Network] Sending Network PDU (ivi: 0, nid: 0x21, ctl: 0, ttl: 5, seq: 32, src: 0001, dst: 0003, transportPdu: 0x27E26A383D087243C9D3B632837B878E, netMic: 0x61F37912) encrypted using Primary Network Key (index: 0)

2020-06-08 16:21:03.606271+0530 OperationApp[3306:1832610] [LowerTransport] The bearer is closed.

Parents
  • Hi,

    So to be clear, you have a mesh device that has been provisioned with a smartphone using the nRF Mesh app. The network database is then exported in json format, and brought to a different smartphone with the nRF Mesh app, where it is imported. You then connect to the device from that smartphone. When you send a message from the app, you get disconnected, and the log you pasted is from this phone?

    Is that the correct understanding of what you experience? If not, please explain what is not right with my understanding.

    Regards,
    Terje

  • Yes Sir,

    You are Correct, this scenario happening in iOS nRF Mesh App.

    After imported the MeshData into the MeshNetwork ,When I am trying to Connect the nRF Device Which I have already

    provision and imported in to the meshNetwork ,it show me connected, bearer open And Ready .But when I an Sending Any

    Generic Message OnOff or Intensity Set, At That time the message not reach the nRF Device, it show the Error Bearer is

    Closed At Lower Transport Layer. 

     I think proper way i am not connecting or Some Data I am not giving at the Connection Time.

    So Sir Please tell me, 

         How to Scan only Provisioning Device, Which data i have already imported and list  out all them ,

         And Connect Specific device  properly through bearer, by which i can send Generic message and bearer is Not

         closed at that time, it properly rich to the nRF device. 

  • Hi,

    I am afraid I do not understand your latest question. Can you try to describe in a different way?

    Regards,
    Terje

Reply Children
No Data
Related