Closed maclobdell closed 8 years ago
@hasnainvirk could you please have a look?
@maclobdell This information isn't helping me much.
Please share your mbed_app.json
@hasnainvirk we are using the 6lowpan border router gateway specified at https://github.com/ARMmbed/mbed-os-example-client#mbed-gateway. We have not changed any channel settings so it is the default. This example is 6lowpan only, so we just used 6lowpan for both this example app and the border router. below is the mbed_app.json. no changes were made.
The exact same boarder router and K64F+Atmel shield were tested with mbed-os-client-example with MESH_LOWPAN_ND network interface selected. it was working fine.
{
"target_overrides": {
"*": {
"target.features_add": ["IPV6", "COMMON_PAL"],
"mbed-mesh-api.6lowpan-nd-channel": 15,
"mbed-mesh-api.6lowpan-nd-channel-mask": "(1<<15)"
}
}
}
@maclobdell The default channel set in Gateway Binary available in the repo (GW_Binaries folder) is 12. Please change like this:
"mbed-mesh-api.6lowpan-nd-channel": 12, "mbed-mesh-api.6lowpan-nd-channel-mask": "(1<<12)"
@hasnainvirk It would make sense to change the default settings on this example, so it matches with the GW binary. E.g lines: https://github.com/ARMmbed/mbed-os-example-mesh-minimal/blob/mbed-os-5.1.0-rc4/mbed_app.json#L5 https://github.com/ARMmbed/mbed-os-example-mesh-minimal/blob/mbed-os-5.1.0-rc4/mbed_app.json#L6
@MarceloSalazar Ofcourse. You are right. That makes sense. I will update it
I tested the fix in https://github.com/ARMmbed/mbed-os-example-mesh-minimal/pull/11#event-741182225 and it works for me. This issue can be closed.
tested with K64F and Atmel RF shield. mbed-os-example-client (6lowpan & thread) works on my same board and wireless network setup.
Result: Connecting... Connection failed!
mbed ls mbed-os-example-mesh-minimal (ff01e1e96411) |- atmel-rf-driver (a16a4ed6f6e8) `- mbed-os (36468c9acbfe)