XBee | A .NET library for XBee wireless controllers
kandi X-RAY | XBee Summary
kandi X-RAY | XBee Summary
A .NET library for XBee wireless controllers
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of XBee
XBee Key Features
XBee Examples and Code Snippets
Community Discussions
Trending Discussions on XBee
QUESTION
I am trying to update my xbee module with the software XCTU but it gives me issues during the process; when XCTU tries to enter in the programming mode it asks me to reset the module and when I press the reset button on my Arduino nothing appens, any possible resolutions?
...ANSWER
Answered 2022-Mar-21 at 15:47Update. I fixed the problem, the xbee module was damaged, I've replaced it and now i can update the firmware with XCTU
QUESTION
One thing confuses me now, I have 20 Xbee motion sensors which are connected to one Xbee Gateway(Coordinator). When I connect the gateway to AWS IoT, how do I create the 20 sub-devices(things) in AWS IoT? Do I create 20 more things and put them under the parent gateway group? How do I manage the 20 motion sensors?
Thanks!
...ANSWER
Answered 2022-Mar-06 at 05:29The best option will be create a THING_TYPE and then create all the things with this specific type, this will make easy to you manage similar things shadows, atributes e etc.
To create multiple things we can use the aws-sdk creating a thing for each item of a list using the CreateThing method.
Or you can use the POST /thing-registration-tasks
api method to do a Bulk registration.
QUESTION
we ran into a weird issue when receiving ZigBee packets on Windows. We are currently sending packets from a drone every 0.8s, but on Windows we are receiving only every ~5s. We aren't loosing packets, as the received packet ID's increment correctly. The strange thing is, when using an Ubuntu VM on the same computer it works perfectly, and we receive at about ~0.8s.
We are using Digi-Xbee 1.4 and a "Xbee SMT Grove Dev Board" connected by USB for both sending and receiving.
Here is the code were using to receive on both Windows and Ubuntu:
...ANSWER
Answered 2021-Jul-15 at 18:31Ok, in case anyone runs into the same issue, we solved it by basically implementing our own serial interface. This method is extremely basic and if you need more advanced features of Digi-Xbee Python, it probably won't help you. In our case we are sending json.dumps() as the data, so we can seperate it by the {}. You might need to change it for other data types.
QUESTION
I can connect the BLE device with my XBee 3 device, but after connecting while trying to receive data through gattc_read_characteristic() method, it is receiving as empty bytes. But i can receive the data in my android mobile app. Please give me some solution !
Here is mycode.
...ANSWER
Answered 2021-May-20 at 20:04If I'm understanding everything right, you're trying to read from a characteristic which only supports notify. (According to this Microchip forum post, that characteristic only has notify.)
You want to call gattc_configure
to enable notifications and set up a callback on that characteristic. Here are the typehints for gattc_configure, and here's an example using it (with a Thunderboard device, but it's a starting point).
QUESTION
I am using a Python script to connect to an Xbee. I have managed to get this script to work fine and connect to the Xbee when executing the python script from a terminal. I am now trying to execute the script from Node.js using the npm package called "PythonShell".
PythonShell is working fine. When I run other scripts, it works fine and messages are sent back to node from the python shell.
When I try to run the script below, I don't seem to get anything back or nothing seems to be happening.
Python Script:
...ANSWER
Answered 2021-Apr-24 at 10:39In order to get this to work,
QUESTION
I have a xbee
code running which has a scheduler scheduled to run every 1min. This scheduler queries the network and gets the xbee
devices which are online. Below is the code:
ANSWER
Answered 2021-Apr-01 at 19:09Per the documentation, "All discovered XBee nodes are stored in the XBeeNetwork instance."
But you can also clear the list of nodes with the clear()
method on the XBeeNetwork
object before initiating a new discovery:
QUESTION
I have some XBee3 pro, I made a network, a coordinator and 7 routers or end devices, the coordinator sends a broadcast (DL = 0xFFFF) to all the routers so that they receive the information, in the same way of some routers that need to send information, too I do a broadcast. My doubt arises in which channels the communication works, since where I will place these devices they have a system that works on channels 25 and 26 and I would not want to interfere with those channels.
What channels are used for communication between xbee's?
Is it only one channel that is used or are there several?
Is this channel fixed or are they dynamic?
Is there a fixed channel by default in which the xbee works?
In case those channels (25 & 26) are being used, how could I block those channels in the XCTU so that they are not used?
...ANSWER
Answered 2021-Jan-28 at 14:44ATSC
configures the channel mask, and ATCH
reports the channel currently in use.
This Zigbee Channels document from Digi does a good job of explaining how to configure SC
. A value of 0x3FFF would mask off channels 25 and 26 and enable all other channels.
QUESTION
I tried to establish a communicating between two Xbee's as COORDINATOR and ROUTER, this works well in XCTU as they talk well with each other but when I connect De0 nano fpga board with the one Xbee and try to send a specific letter, eg A, I am not receiving (A) on the other end (coordinator).
I am Receiving Rand characters like ?, etc.
I am providing the links of the configuration done by me in these Xbees
Thanks in Advance
...ANSWER
Answered 2020-Dec-19 at 21:05Have you verified that your serial code on the FPGA code is working correctly? Can you test it with another TTL-level serial device (like an FTDI TTL-232R)?
Are you using the correct baud rate for the XBee configuration (based on ATBD
setting)?
Have you connected TX, RX, CTS, RTS and ground between the FPGA and the XBee?
QUESTION
Hi there i'm quite new with xBee and struggle with data transferring. My objective is to take picture with Raspberry pi wide and send it back to computer via xBee by turn that image to hexlify code. after recieving the code with python on computer i use binascii library to turn those code back to image by this code
ASCII to IMG:
...ANSWER
Answered 2020-Nov-28 at 21:14Questions:
Why are you using an XBee instead of Wi-Fi and a standard TCP protocol like HTTP or FTP?
Work on debugging a piece of your system at a time. Instead of capturing an image on the Pi, use a small text file and see if it comes through correctly. It will be easier to see if you're dropping bytes in the middle, beginning or end of the file.
Whenever using an XBee module, be sure to enable hardware flow control (pins D6 and D7) so you don't lose any serial data. With hardware flow control, each side of the connection has the ability to signal the other side to temporarily stop sending while it processes data.
I also recommend increasing your baud rate to 115200 or even 230400 bps. That, in conjunction with the hardware flow control, will result in quicker transfers without lost bytes.
There's no need to hexlify the data -- the XBee is capable of sending 8-bit bytes when running in transparent serial mode (essentially a serial cable replacement).
That said, you don't have any way to indicate the start or end of the file -- the receiver doesn't know when the image begins or when to finish and close the file. If you continue to hexlify the data, you could send characters other than 0-9a-f to indicate that it's the start of an image or the image is complete.
QUESTION
I am working in a C program with sockets. I found a proxy python script which is working with my program:
...ANSWER
Answered 2020-Jun-27 at 19:37PI_THREAD(uartRead){
...
char buffer[4096]={0};
...
valread = read( fd, buffer, sizeof(buffer));
...
write(new_socket,buffer,sizeof(buffer));
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install XBee
Here is a simple example with a coordinator on COM3 and an arbitrary number of end devices that we’re going to configure and monitor for sampling.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page