Yes I have been doing a local compile, but it seems I need to do more then just #include dct.h in order to be able to call those functions dct_read_app_data & dct_write_app_data. I experimented with modify the softap.cpp code directly. That worked fine but I am very interested in being able to accomplish the task within the user code segment rather than the system code segment. When I try to duplicate these few instructions in my user code I fine I cannot call them. Any ideas?
@HardWater, with the Photon’s system/user firmware separation, functions in the system “partition” that are accessible to the user need to be exposed via a HAL/wiring API so the dynamic links are not compromised. I suggest you post an issue on the repo outlining the requirement. It makes sense to have a user-configurable SSID for the softAP.
I did a search for the source for dct_read_app_data & dct_write_app_data but cannot find it in the repo only that it is defined as an extern function. I was thinking that maybe there are lower level commands that I need to execute to access the hardware and those commands were accessable.
@HardWater, what @mdma says is true however, when you need to hook into a shared resource (eg. ISR vector table), you will need an API. Also, anything that is done in the WICED library will need to be exposed as the library remains closed to users for now. Those functions are (likely) in the WICED (pre-compiled) image explaining why you can’t find them.