Hi
I am trying to use the A IOT cloud dev system as per the video. I am having problems communicating with the devices it is very hit and miss. Most of the time it dies not work. When I open the Create Agent debug it seems to get in a loop.
{ "DownloadStatus": "Pending", "Msg": "We couldn't find a tool with the name windows-drivers and version latest packaged by arduino" }
{ "DownloadStatus": "Success", "Msg": "Map Updated" }
{ "DownloadStatus": "Pending", "Msg": "The tool is already present on the system" }
{ "DownloadStatus": "Success", "Msg": "Map Updated" }
{ "DownloadStatus": "Pending", "Msg": "The tool is already present on the system" }
{ "DownloadStatus": "Pending", "Msg": "The tool is already present on the system" }
{ "DownloadStatus": "Success", "Msg": "Map Updated" }
{ "DownloadStatus": "Success", "Msg": "Map Updated" }
list
Serial Ports:
[]
Network Ports:
[]
list
Network Ports:
[]
Serial Ports:
Any ideas. I am having general communication problems with different esp32s using different IDEs making development almost impossible. Is it just the MAC? should I invest in a windows or Linux pc just to run IOT IDEs on?
I am on a Mac and have no troubles. Start at the beginning, exactly what are you trying to do and what messages does the system give you.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@bubbab Hi, do you still want help? I am one of the few Mac users here and use the arduino cloud. I have no problems. Send me some screen prints. Most all ESP32's will work the same way unless they have extra special stuff like the ESP32-CAM, or if they are minimalist.
How many IDE's do you have? I only use the IDE 1.8.19 and occasionally play with IDE 2.0 but it is still not ready yet.
I also sent you a private message.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Hi Ron.
thanks for the quick reply I am still finding my way round so even the forum is new. What screen shots would be helpful to you.
it’s late here so it may be tomorrow before I get back to you
cheeers
bob
I can’t reply to your direct message it says I am not allowed to send a message yet. Not sure what that means either
@bubbab The screen shots of the errors you get in the ide. I have no idea what you are talking about re Arduino Agent, it has NO user interface, it's just a daemon that runs in the background. I have never interacted with it since the day it was installed, and when I just tried to as a result of your comments nothing happens, I doubt it has a user interface. Let's just stick to the aerduino.cc/IoT Cloud. Do a compile, is it error free (green text NOT red) then the upload with the load/boot NOT reset button pressed until it says hard reset.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@bubbab Yes, you are still a newbie, once you have had a certain number of interactions with other forum users it will be allowed. That should happen later this coming week. BTW, where inthe world are you, I am on Vancouver Island, west coast of Canada.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@bubbab I see you are still online so I will do a compile and load of my IoT app and show you here what it looks like. I have opened the results window wide for your benefit, normally I leave it at about 3 to 5 lines.
.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@bubbab Does your sketch compile? If not, take a screen shot of the last few lines of errors.
If it does what happens when you do an upload, if it fails take a screen shot of the last few lines
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@zander Hi Ron
the Arduino Agent has a debug window you can open from the tray icon
That's where the outputI attached to my first email was from. The code compiles fine its the communication with the am going toe device I am having problems with. I have noticed the the Agent unloads if I put the Mac into sleep mode and I have to reinstall to get it's icon to appear again. currently I can't communicate with the esp32 at all. I am going to de/reinstall the agent.
@zander OK I have de/reinstalled the agent and that seems to have fixed the com problem for now. Now the problem is that I get a run time error on the ESP. Something to do with a MQTT mailbox failure. Here is the compile and the upload and the error. Any thoughts?
I am in the UK
I don't know it I posted this in the right place but it was the first place in the tree I had a 'New topic' button..
@bubbab This shows the sketch compiled and uploaded just fine. I have NEVER seen any of that other stuff. The agent is something you install ONCE before anything else. I have NEVER looked at it since. You are fixating on a non issue, the sketch is done and loaded into your device.
What are you expecting to happen after the hard reset?
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@bubbab My thought is STOP messing with the agent, it is not somnething you ever concern yourself with after it's installed. Your sketch is ready, move on to testing the sketch, it has NOTHING to do with the agent.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@bubbab I loaded my sketch and found the agent (it's hidden away on my Mac) to see what it is doing. This is literally the first time I have looked at it. It appears to be some sort of possible emulation of a Serial port. since I am doing web based development I have NO Serial statements in my code since no such device will or could be attached AFAIK. I see the URL is a local, 127.x.x.x so it's just a trick connection. I have no idea why you would ever look at it, it has clearly confused you. This is what mine looks like. I have no idea or care what that is, my app has no connection known to me to any serial device. Your sketch shows it has compiled and uploaded. If you are using serial statements I suggest you get rid of themn and convert them to a text box or as I did for logging the messenger thingy. I have attached a screenshot of my debug messenger thingy. Good luck.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.