SoftAP on Argon?


#1

Is there a way to run SoftAP on Argon boards? The complete example code from Photon docs doesn’t compile for Argon.
Errors:
variable ‘Header h’ has initializer but incomplete type
invalid use of incomplete type ‘struct Writer’


How to register a customer for a mesh-based product (Argon + Xenon)?
#2

Currently not and I’m not sure it will ever be.
SoftAP was the “only” way how to setup a Photon via a mobile device but since the Mesh devices now support BT there was/is no need for SoftAP at this point.

The ESP32 WiFi co-processor would sure be capable of it but without loud enough call for this feature it’ll probably stay way down in the priority list.
After all, even on the Photon SoftAP never really made it out of Listening Mode into normal application mode.


#3

What exactly do you mean by this comment?


#4

In order to activate the Photon’s SoftAP you need to put the device into Listening Mode.
You can’t have the Photon breathe cyan and have it act as SoftAP at the same time (bridge mode).
IIRC there are also restrictions on the use of the TCP and UDP objects while in LM.


#5

OK - I see what mean. It works fine for wifi setup and you can run it with credentials stored. It will be interesting to see how BLE works on Gen3 devices alongside WiFi or Mesh.


#6

@ScruffR thanks for the reply and maybe i’m aiming at the wrong target with SoftAP…is there a BLE equivalent library for a WiFi config use case?

With the Photon, I used SoftAP and a button (i.e. one that replicated holding “setup” for 3 seconds but exposed on the surface of the product) to trigger the device to go into WiFi listening mode - this was an easy win to let customers configure WiFi themselves.


#7

The BLE-based device setup SDK (for iOS and Android mobile apps) is planned for the second quarter of 2019. This would allow Wi-Fi configuration of the Argon, Boron, and Xenon by BLE from custom apps.

The ability to fully configure a device by USB should be available late Q1 or early Q2.

Configuration of Argons over Wi-Fi is not a planned feature.


#8

I’m curious to know if there’s any update to this topic. I’ve used SoftAP in the past to allow users to easily configure Photons for the local WiFi. However, it does not appear to be compatible with Argons. So…I’m wondering if there’s any similar means to allow users to do the WiFi config without having them use the Particle app and expose the other many devices on our account.

I have successfully created and gotten a Thunkable app onto the Apple App Store, so if there’s a means for me to create an app that uses BLE to configure the device, I’m game to try that. Here are the BLE functions available via Thunkable:


#9

and

As indicated then and I haven’t heard any different since, SoftAP is not on the planned features list and BLE setup and claiming is not (yet) disclosed beyond what you could extract from the open source Particle Apps.


#10

I just made a video asking @rickkas7 for a Web BLE based page that would allow us to easily pass data between the Gen3 Devices and the Web BLE webpage to accomplish the same features that SoftAP does on the Photon.


#11

OK. Thanks for the feedback. I’ll simply wait to see what develops w/r/t BLE setup guidance. It was just soooo easy to use SoftAP to configure WiFi, but I want to continue to move forward with the new devices.