Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Does BREW support update BREW Parameters(such as ADS Server, Download Flag) by OTA methods??

When tested in Hucth Network, We found that seems the BREW 2.1.3 handset support OTA configration, details as:

The ADS Server for the handset is configed as "brew.hutch.co.th".

Connect the handset to the ADS Server by BAM.

Exit the BAM, enter to BREW Setting Menu(OEM Provided), the ADS Serve Address be changed to 172.27.0.115 automatically.

So strangely!!

I think this auto-updating for ADS Server can only happened when IConfig_SetItem(CFGI_DOWNLOAD) be called. And Calling IConfig_SetItem(CFGI_DOWNLOAD) only can from BREW Kernal inside.

Then, could you explain such behaviour for BREW, When will BREW inside update the BREW parameter, what is the OTA processing, which parameters can be updated by brew in OTA Process??

And for BREW3.1.5 handset, we found this auto-updating for ADS server will not happen, We do not know why??

And Hucth said, their ADS Server support Sending OTA To handset to update parameters.

Thanks a lot

The non-protected download flags and certain CFGI_DOWNLOAD info can be set when the device connects to the ADS. Take a look at AEEConfig.h.

The non-protected download flags and certain CFGI_DOWNLOAD info can be set when the device connects to the ADS. Take a look at AEEConfig.h.

Hi, Max:
In AEEConfig.h, I found below pretected Flags which ADS can not set.
#define DIF_PROTECTED_FLAGS (DIF_TEST_ALLOWED|DIF_SID_ENCODE|DIF_USE_A_KEY|DIF_MIN_FOR_SID)
Then, Do you mean when connect to ADS server, BREW inside may call IConfig_SetItem to change the un-protected parameters, such as Call IConfig_SetItem with CFGI_Download to change the ADS Server address??
If so, then
1. could you tell me where this setting(IConfig_SetItem) be called, from inside IDownload Interface,or from inside CoreApp(clsid is 0x01000002), or from inside other place??
2. When when BREW call Iconfig_Setitem to change parameters, every time connecting to ADS server, or some special case happened??
3. where BREW got the new parameters which should be updated to the handset??
4. How many parameters will BREW update by OTA besides ADS Server.
5. Why our BREW3.1.5 handset do not have such behaviour
Thanks a lot
Looking forward your help.
Coz, our brew2.1.3 handset is ok, now ,but our brew3.1.5 handset works fail now

Hi, Max:
In AEEConfig.h, I found below pretected Flags which ADS can not set.
#define DIF_PROTECTED_FLAGS (DIF_TEST_ALLOWED|DIF_SID_ENCODE|DIF_USE_A_KEY|DIF_MIN_FOR_SID)
Then, Do you mean when connect to ADS server, BREW inside may call IConfig_SetItem to change the un-protected parameters, such as Call IConfig_SetItem with CFGI_Download to change the ADS Server address??
If so, then
1. could you tell me where this setting(IConfig_SetItem) be called, from inside IDownload Interface,or from inside CoreApp(clsid is 0x01000002), or from inside other place??
2. When when BREW call Iconfig_Setitem to change parameters, every time connecting to ADS server, or some special case happened??
3. where BREW got the new parameters which should be updated to the handset??
4. How many parameters will BREW update by OTA besides ADS Server.
5. Why our BREW3.1.5 handset do not have such behaviour
Thanks a lot
Looking forward your help.
Coz, our brew2.1.3 handset is ok, now ,but our brew3.1.5 handset works fail now

The call to IConfig is within IDownload. The only way this should/could break is if your device isn't writing the CFGI_DOWNLOAD info to NV properly. Check OATDevice SetConfigWakeup.1-2.

The call to IConfig is within IDownload. The only way this should/could break is if your device isn't writing the CFGI_DOWNLOAD info to NV properly. Check OATDevice SetConfigWakeup.1-2.