XBee

File Transfer PC to Raspberry Pi (with xBee)

限于喜欢 提交于 2021-02-15 05:29:56
问题 I've two xBee Pro S2C module. I'm trying to send a image from Windows PC to Raspberry Pi with xBee modules. I configured my xBees for API mode and i can receive/send AT text messages with Python codes. I want to send a image from my PC to Raspberry Pi Model 3 B+ I also checked this subject: http://cms.digi.com/support/forum/70518/transfer-image-between-xbee-modules-connected-raspberry-each I made some changes and tried codes below. PC side(sender) ########################### ser = serial

XBee - XBee-API and multiple endpoints

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-05 07:41:45
问题 Using Andrew Rapp's XBee-API, how can I sample I/O data via a coordinator from more than two endpoints? I have 17 Series 1 XBees. I have programmed one to be a coordinator (API mode = 2) and the rest to be endpoints. Using XBee-API I am sending a Force I/O Sample ("IS") remote AT command, unicast to each endpoint. This works perfectly well when there are up to two endpoints, but as soon as a third is added, one of the three always becomes non-responsive (times out with XBeeTimeoutException).

Configuring Xbee S2 with XC-TU

做~自己de王妃 提交于 2019-12-25 11:59:37
问题 I'm trying to set up a very basic network using 2 Xbee modules. One as Coordinator and the other as Router. The Problem I am only able to send data from Arduino (Router) to XCTU (Coordinator). It's a mono directional communication. What's the correct configuration for these modules in order to establish a bidirectional communication? I have followed these tutorials and none of them worked. http://www.seeedstudio.com/wiki/Zigbee_Networking_with_XBee_Series_2_and_Seeed%27s_Products http://www

How to run an API made for 32-bit on a 64-bit machine?

╄→尐↘猪︶ㄣ 提交于 2019-12-14 03:45:00
问题 I'm writing a java application which has to communicate with has to communicate with an XBee radio over a usb-cable.To do this , I use the xbee-java API (http://code.google.com/p/xbee-api/) On my old 32-bit machine it all worked fine . But when I imported the project to a 64-bit machine , it throws immediately an exception which says :" Can't load IA 32-bit .dll on a AMD 64-bit platform" . I don't have any idea how I can solve this problem . the error code : java.lang.UnsatisfiedLinkError: C:

HAL_UART_Transmit_IT: only a few bytes are sent

你。 提交于 2019-12-13 09:35:52
问题 i've got a problem on my STM32F407 with FreeRTOS. So Far most of the messages to a xbee module are sent. Only Sometimes (after 5 to 60 minutes) the TX process will be interrupted. In the debug session i can see, that TXEIE ist not set anymore after the 2 bytes (of ~40). Also the TxXferCount of the UART_HandleTypeDef is 42 (TxXferSize: 44). The flag TXE in SR-Register ist set but the TXEIE in CR1-Register not. The ISR was active for 2 times to store them into data/shift registers. This i can

In XBee ZigBee, how to get RSSI of all end-devices from coordinator

我的未来我决定 提交于 2019-12-12 12:30:46
问题 What is the right way to get RSSI for each end-device? Scenario: Using ZigBee firmware on XBee Series 2 radio modules, API mode, I have one coordinator and multiple end-devices. Every few seconds, each end-device sends the coordinator a packet contains sensor information such as temperature... I don't see RSSI field in any API frame to parse. If I just blindly read pin6 (or using DB command) which stored RSSI of the last received packet, I still don't know which end-device this RSSI belongs

How to read data from pyserial incrementally?

老子叫甜甜 提交于 2019-12-12 04:45:55
问题 I am trying to send an image by chunks of 50 bytes. I am able to send it via Python across two xbees serially. Now , i want to read first 50 bytes and append it to a variable , then after the next 50 bytes , append it and so on . But I cant find a good solution at all . Any help ? I am now getting error f.write(data_stream[i:i+inc]). Type error must be string or buffer. The amount of bytes , length of image is 6330 in sending side . But in the receiving side it is 129. I am in no where now .

Get Xbee response from Serial and send to a browser

拈花ヽ惹草 提交于 2019-12-11 14:34:19
问题 I am trying to do some experiments with Arduino, Ethernet Shield and Xbee Shield. I demonstrate my set up board like this: Group 1: Arduino Uno + Xbee shield : broadcast the signal Group 2: Arduino Uno + Xbee shield + Ethernet shield: receive the signal from group 1, get the signal strength from AT command and print it into the browser. The problem here is I can't get the result after sending to the Serial my ATDB command, actually, I am not sure it did worked as I expected. Here is the code

Receiving data from multiple XBee Series 2B EndPoints

最后都变了- 提交于 2019-12-11 13:55:23
问题 I'm working on a project that involves the XBee Series 2B radios and could use some advice in regards to determining what end device the data packets are coming from. The setup includes a Python 2.7 application running on a Raspberry Pi Model B. The Python-XBee 2.1.0 documentation states: ZigBee devices extend this behavior to include automatic parsing of “ND”, Node Discover, AT command responses. The parameter field of a ND AT response will assume the following format: {"source_addr": two