I have a Raspberry Pi connected to my Macbook Pro by two radio modules. I have been successful so far in sending strings and commands from one device to the other using pyserial, however, I cannot find a way to send a text file. Like on HyperTerminal, where you can choose to send a text file over xmodem. I have downloaded the xmodem library and played with it a bit, and I think I am able to send files, but I have no idea how to receive them on the other end. Any help?
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in PYSERIAL
- How to fix python serial monitor parsing error?
- Raspberry Pi sending/receiving data over usb
- How do I do a proper if statement with data from a serial device in python?
- RS422 communication using PySerial (Raspberry PI)
- My RAMPS1.4 doesn't work when controlled by RPI5 via Python3
- ModuleNotFoundError: No module named 'pyfirmata'
- Baud rate issue in Raspberry Pi 5 and Arduino connection with USB in Python3
- Computer Locking Up While Using PySerial
- Python serial communication causing high CPU Usage when baudrate is 1000000
- How can I set Xofflimit and clear RTS in pyserial?
- PySerial Benq projector communication
- Can't open serial monitor while pyserial script is working, using nodemcu
- Problem using a mapped baud rate with pySerial
- Python decoding data from serial port and storing into a list
- pySerial reading and writing with arduino
Related Questions in RADIO-TRANSMISSION
- i connected the ESP8266 MOD to the RF transmitter and sending simple message called "Hello World" but RF receiver not receives WHY? (Lib - radiohead)
- Contiki-ng Periodic radion on off
- nRF24 ManualAcknowledgement.ino example not working
- Arduino Weather Station, Radio signals
- Using nrf24L01 module with raspberry pi pico
- tinyos implementation of routing table for multiple nodes
- ESP32-H2 low-level radio access
- NRF24L01 between Raspberry Pi 3 and Pico
- Arduino Mhz 433 send a long
- Reading Serial Data Using a Raspberry Pi Pico
- Using RF Modules with Raspberry Pi Pico
- How can I use esp-idf-mirf nRF24L01/Si24R1 driver to transmit audio sampled with i2s_read?
- Migration to Raspberry PI 3B+ problem with RF24 library and C code compiling
- How to compare signals from RF 433 with variable codes by Arduino keeloq
- What Received Power Model To Use For Localization
Related Questions in XMODEM
- flutter_libserialport packet exchange
- PYTHON: Encountering import error when trying to import YMODEM from xmodem
- File transfer via serial port
- How to import 3rd party GitHub libraries into project for C#
- How to do xmodem with serial port in python, in Windows?
- Transmission of additional ASCII characters when transferring file content with Xmodem
- ModuleNotFoundError: No module named 'xmodem' on raspberry pi
- send file to serial port in python
- How to apply xmodem CRC on generating and checking
- transfer file through serial using python xmodem like tera term xmodem
- jssc getInputStream() getOutputstream()
- My Implementation of xmodem receiving function is not working
- Not getting ack after sending xmodem frame
- php calculated CRC-CCITT (XModem)
- python retrieve file from serial port
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
this question is not very clear ... you just send the bytes over the serial port ... where a client saves the bytes to a file. here is a simple implementation.
server code
client code
this is an overly simplified example that should work, but it assumes 100% correct transmission, this is not always achieved ... a better scheme is to send it line by line with checksums to verify correct transmission, but the underlying idea is the same... the checksum will be an exercsize for OP