I have several different paltforms. Mostly based on BK7231N/T but also others.
It seems to be, I can run command sendPOST http://Router_name/Temp.php?Device_name and it does run the PHP code Temp.php on the router and passes parameter Device_name to it just fine. It works as expected and makes it possible to trigger cool things depending on what happens on the OpenBK device.
But - it does only work by default on my ESP8266 device. The command seems to be commented out from other platforms I have.
I would like to turn it on for the rest of them and I have a couple questions about it.
I know there seems to be some documentation here: https://www.elektroda.com/news/news4033833.html but I did not quite understand how it is supposed to work.
Do I download the github code on my own computer, edit it, and somehow make remote computer to compile the code on my own PC. Or how is it supposed to work?
An other question is, the obk_config.h file has an exact section "PLATFORM_LN882H" and it has section "//#define ENABLE_SEND_POSTANDGET 1" to edit, but there seems not to be an an exact section for BK7231N or BK7231T. What should I edit to enable SEND_POSTANDGET for these two palforms?
B.T.W: my Temp.php loops like this
in case someone else would like to know. It's an OpenWRT router having PHP installed.
It seems to be, I can run command sendPOST http://Router_name/Temp.php?Device_name and it does run the PHP code Temp.php on the router and passes parameter Device_name to it just fine. It works as expected and makes it possible to trigger cool things depending on what happens on the OpenBK device.
But - it does only work by default on my ESP8266 device. The command seems to be commented out from other platforms I have.
I would like to turn it on for the rest of them and I have a couple questions about it.
I know there seems to be some documentation here: https://www.elektroda.com/news/news4033833.html but I did not quite understand how it is supposed to work.
Do I download the github code on my own computer, edit it, and somehow make remote computer to compile the code on my own PC. Or how is it supposed to work?
An other question is, the obk_config.h file has an exact section "PLATFORM_LN882H" and it has section "//#define ENABLE_SEND_POSTANDGET 1" to edit, but there seems not to be an an exact section for BK7231N or BK7231T. What should I edit to enable SEND_POSTANDGET for these two palforms?
B.T.W: my Temp.php loops like this
Code: PHP
in case someone else would like to know. It's an OpenWRT router having PHP installed.