April 27, 2020 at 8:00 am #545MrWeedsterGuest
I ordered two sets of the xbee modules to test the chat funcionality.
I configured them both as described using the same PAN IDs (It also works if i set the node that acts as “join network” as PANID 0)
When i type ‘listnodes’ in beechat, it says “Unknown NodeID found:” missing the NodeID.
When i type ‘changeid random’ it doesn’t generate a NodeID, it’s still empty.
When i type ‘changeid’ it seems as there should be a dialouge where i put in the NodeID, but it skips that resuming to the command promptApril 27, 2020 at 8:24 am #546
PAN ID is the channel, this means all nodes must be on the same PAN ID to be able to “hear” each other.
Only one XBee per channel may act as “Form network” this is called the network coordinator.
To fix the problem you are describing you must set a NodeID for the XBee modules, this can be done by plugging them in, and typing “changeid”. This will allow you to change the name of your XBee module. Let me know if it works!
April 27, 2020 at 9:49 am #551MrWeedsterGuest
- This reply was modified 5 months ago by 3iWEvuKEag. Reason: Changed "Join network" to "Form network"
Hi. Ok then i set both modules to the same channel.
Using ‘changeid’ doesn’t work as i stated in the first post, it stays empty.April 27, 2020 at 1:29 pm #555
In that case, try changing the node IDs through XCTU, it should work through that. Thank you for letting me know about that bug, I will add it to improvements for version 0.2.
EDIT FROM MY PREVIOUS POST:
I earlier said only one device in the network could act as “Join network”, I got it mixed up, sorry for that. That’s not the case. Up to 65,000 devices can join a network, however there can only be ONE “Form network”, that is, the coordinator. Wanted to mention it in case you changed both devices to “Join network”. One of them MUST create the network! Again, let me know if you run into some issues I am more than happy to help.
April 27, 2020 at 4:26 pm #561MrWeedsterGuest
- This reply was modified 5 months ago by 3iWEvuKEag.
Ok i set the node IDs manually and it works so far they can see each other. However, the chat function does nothing. I exchanged the keys with genkey/sendkey, then used the chat function. It just returned to the beechat prompt without outputApril 27, 2020 at 10:20 pm #562
I am almost certain you are having an issue with permissions within the folder. It’s likely you do not have permissions to read/write in the folder thus BeeChat cannot create files or folders through bash utilities.April 28, 2020 at 7:40 am #565
If you still have problems, please let me know, I will try and help you as much as I can.
Here is my qTox ID in case you want to get in touch with me through instant messaging:
https://qtox.github.io/ (download link)May 25, 2020 at 11:20 am #659MrWeedsterGuest
Today i received my antennas and did further testing.
With “listnodes” both reiceivers see each other as “Unknown NodeID found: <NodeID>”
However, trying to exchange keys or starting a chat results in nothing. It just returns to the prompt seemingly doing nothing.
The file and folder permissions are correct on both sides, the directory containing beechat is owned by the running user, so that shouldn’t be an issue.
The “ID”s (Extendes PAN ID) are set to the same value, one is configured as “Form Network ”, the other as “Join Network ”.
Am i still missing something?June 1, 2020 at 4:15 pm #661
Hi, I’m sorry for the late response, I only just saw this.
Can you please check that you ordered the correct dongles? Check that they are the exact model name as in the parts list section.June 3, 2020 at 6:48 am #664MrWeedsterGuest
Yes, i bought the exact same parts as on the partslist (for long range) two times:
– SparkFun XBee Explorer Dongle
– XBee 3 PRO ZigBee Module
– GW.71 2.4/5.8GHz 5dBi Dipole Antenna, RP-SMA(M) Hinged
If i do a chat directly in the XCTU console it works, but i think its unencrypted.June 3, 2020 at 12:32 pm #665
Have you activated the “API mode without escapes” setting in XCTU? Hope this works
June 3, 2020 at 12:34 pm #666
- This reply was modified 3 months, 3 weeks ago by 3iWEvuKEag.
As a heads up, 2 other developers have joined the development of BeeChat in the last couple of weeks, and we are almost done with a Graphical User Interface which will make all these issues much easier to troubleshoot.June 3, 2020 at 6:29 pm #708MrWeedsterGuest
Yes i have “API mode without escapes” activated.June 4, 2020 at 7:53 am #709
Can you please get in touch with me on Telegram? My username is https://t.me/iWEvuKEag
I will try to help you as much as I can, I believe it’s better to chat than to do it on the forum.
As soon as we find a solution to the issue, I will post the solution here.June 7, 2020 at 8:31 am #712