Skip to content

Commit

Permalink
Update LTE_Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
botletics committed Nov 22, 2022
1 parent e2a6926 commit 896bb0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/LTE_Demo/LTE_Demo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,8 @@ void loop() {
// Format the floating point numbers as needed
dtostrf(temperature, 1, 2, tempBuff); // float_val, min_width, digits_after_decimal, char_buffer

#if defined(SIMCOM_7000) || defined(SIMCOM_7070)
#ifdef SIMCOM_7070 // Use this line if you have the SIM7000G because the 1529B01SIM7000G firmware doesn't seem to run the commands below well
// #if defined(SIMCOM_7000) || defined(SIMCOM_7070) // Use this if you have SIM7000A, especially with SSL
// Add headers as needed
// modem.HTTP_addHeader("User-Agent", "SIM7070", 7);
// modem.HTTP_addHeader("Cache-control", "no-cache", 8);
Expand Down
3 changes: 2 additions & 1 deletion examples/SIM7XXX_LTE_Demo/SIM7XXX_LTE_Demo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,8 @@ void loop() {
// Format the floating point numbers as needed
dtostrf(temperature, 1, 2, tempBuff); // float_val, min_width, digits_after_decimal, char_buffer

#if defined(SIMCOM_7000) || defined(SIMCOM_7070)
#ifdef SIMCOM_7070 // Use this line if you have the SIM7000G because the 1529B01SIM7000G firmware doesn't seem to run the commands below well
// #if defined(SIMCOM_7000) || defined(SIMCOM_7070) // Use this if you have SIM7000A, especially with SSL
// Add headers as needed
// modem.HTTP_addHeader("User-Agent", "SIM7070", 7);
// modem.HTTP_addHeader("Cache-control", "no-cache", 8);
Expand Down

0 comments on commit 896bb0b

Please sign in to comment.