Skip to content

Commit fd813c7

Browse files
committed
examples: Update platform.ini and readme
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent cc78fa1 commit fd813c7

File tree

15 files changed

+30
-58
lines changed

15 files changed

+30
-58
lines changed

examples/adc-example/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ default_envs = s20gsm
1313

1414
; Common env setup
1515
[env]
16-
platform = siwigsm
16+
platform = logicrom
1717
board = s20gsm
18-
framework = siwisdk
18+
framework = logicromsdk
1919
monitor_speed = 115200
2020

2121
; Release env

examples/adc-example/readme.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,12 @@ Example Output
2828
.. code-block::
2929
3030
(c) 2021 WAYBYTE
31-
Firmware Lib v6.49 0b5247c - Build Jun 7 2020 14:10:11
32-
Core firmware: SC20UCB01A02_SIWI_759fd68
31+
LOGICROM v6.62 ea61103 - Build Apr 19 2021 19:58:05
32+
Core firmware: WBMT2503DV01_c70a56b
3333
System Ready
3434
System Initialization finished
3535
SYSTEM: GSM NW State: 2
3636
NETWORK: SIM card ready
37-
______ _ _ _ _ _
38-
/ _____|_|_)(_)(_|_)
39-
( (____ _ _ _ _ _
40-
\____ \| | || || | |
41-
_____) ) | || || | |
42-
(______/|_|\_____/|_|
43-
4437
4538
Please login to access console
4639
Username: ADC Channel 0: 572, 1565.56mV

examples/adc-example/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ int main(int argc, char *argv[])
140140
/*
141141
* Initialize library and Setup STDIO
142142
*/
143-
siwilib_init("/dev/ttyS0", urc_callback);
143+
logicrom_init("/dev/ttyS0", urc_callback);
144144

145145
printf("System Ready\n");
146146

examples/arduino-blink/platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
; https://docs.platformio.org/page/projectconf.html
1010

1111
[env:s20gsm]
12-
platform = siwigsm
12+
platform = logicrom
1313
board = s20gsm
1414
framework = arduino
1515
monitor_speed = 115200

examples/gpio-blink/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
; https://docs.platformio.org/page/projectconf.html
1010

1111
[env:s20gsm]
12-
platform = siwigsm
12+
platform = logicrom
1313
board = s20gsm
14-
framework = siwisdk
14+
framework = logicromsdk
1515
monitor_speed = 115200

examples/gpio-blink/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ int main(int argc, char *argv[])
142142
/*
143143
* Initialize library and Setup STDIO
144144
*/
145-
siwilib_init("/dev/ttyS0", urc_callback);
145+
logicrom_init("/dev/ttyS0", urc_callback);
146146

147147
printf("System Ready\n");
148148

examples/socket-example/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ default_envs = s20gsm
1313

1414
; Common env setup
1515
[env]
16-
platform = siwigsm
16+
platform = logicrom
1717
board = s20gsm
18-
framework = siwisdk
18+
framework = logicromsdk
1919
monitor_speed = 115200
2020

2121
; Release env

examples/socket-example/readme.rst

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,13 @@ Example Output
2727

2828
.. code-block::
2929
30-
(c) 2020 WAYBYTE
31-
Firmware Lib v6.49 0b5247c - Build Jun 7 2020 14:10:11
32-
Core firmware: SC20UCB01A02_SIWI_759fd68
30+
(c) 2021 WAYBYTE
31+
LOGICROM v6.62 ea61103 - Build Apr 19 2021 19:58:05
32+
Core firmware: WBMT2503DV01_c70a56b
3333
System Ready
3434
System Initialization finished
3535
SYSTEM: GSM NW State: 2
3636
NETWORK: SIM card ready
37-
______ _ _ _ _ _
38-
/ _____|_|_)(_)(_|_)
39-
( (____ _ _ _ _ _
40-
\____ \| | || || | |
41-
_____) ) | || || | |
42-
(______/|_|\_____/|_|
43-
4437
4538
Please login to access console
4639
Username: SYSTEM: GSM NW State: 5

examples/socket-example/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <ril.h>
1414
#include <os_api.h>
1515
#include <network.h>
16-
#include <siwi/sockets.h>
16+
#include <net/sockets.h>
1717

1818
/**
1919
* Server IP
@@ -192,7 +192,7 @@ int main(int argc, char *argv[])
192192
/*
193193
* Initialize library and Setup STDIO
194194
*/
195-
siwilib_init("/dev/ttyS0", urc_callback);
195+
logicrom_init("/dev/ttyS0", urc_callback);
196196

197197
/* Start GPRS service */
198198
network_gprsenable(TRUE);

examples/ssl-socket-clientauth/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ default_envs = s20gsm
1313

1414
; Common env setup
1515
[env]
16-
platform = siwigsm
16+
platform = logicrom
1717
board = s20gsm
18-
framework = siwisdk
18+
framework = logicromsdk
1919
monitor_speed = 115200
2020

2121
; Release env

0 commit comments

Comments
 (0)