Author Topic: Update Oak on remote network  (Read 2205 times)

Last_Mile

  • Newbie
  • *
  • Posts: 15
Update Oak on remote network
« on: February 21, 2017, 02:50:07 pm »
I've been searching the boards and there doesn't seem to be a way to update an Oak on a remote network.  I want to develop on a local IP network and then deploy to a different network segment.

I fired up the Arduino IDE, started the OakCLI and selected a device.  I was able to download and reboot the Oak.  Everything on the local network works.

But, when I change the IP, SSID and password to a different network segment, the download doesn't complete.  I know I'm doing something wrong or I'm missing something.  Does the Arduino IDE and the OakCLI only use MAC addresses to talk to the Oaks?  Am I out of luck if I want to deploy the Oaks on a network separate from my more secure network segment?

If you can point me in the right direction it would be greatly appreciated.

PeterF

  • Hero Member
  • *****
  • Posts: 881
Re: Update Oak on remote network
« Reply #1 on: February 22, 2017, 04:07:45 am »
No, it's nothing like MAC addresses. I'm not fully versed on the nitty gritty (I know just enough to be dangerous), but in a nutshell the Arduino IDE uploads compiled binaries to the Particle cloud, and the Oaks periodically check (every 15s?) for updates, and if there is one, they download it and apply it. So working across subnets should be fine... as long as both sides can talk to the internet... as they don't actually talk directly to one another.