Hello everyone,
I'm trying to establish a bluetooth connection between an Arduino (with HC-05 module) and a computer.
I use 2 codes. One for arduino and the other one in python on computer.
I've never used an Arduino before, it's my first time.
I'm a beginner with socket module so I don't understand all function perfectly
All composant are connected correctly. Port and address are also correct.
HC-05 is in master mode.
Python and Arduino code are in the attachments (screenshots).
When the python program starts, there is an error with the s.connect() function (Although port and address are correct)
This is the message : "OSError: [WinError 10064] A socket operation failed because the destination host was down"
I don't understand what this error means, can someone help me to understand it and tell me a solution ?
Thanks for your answers !