lpa: Use wwan0 name instead of ttyACM
This commit is contained in:
parent
932a090d2e
commit
496ad0cb8b
|
|
@ -0,0 +1,26 @@
|
|||
From 74353e1b74fd96433613378d3216c54f0a7754e2 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Bard <alexandre.bard@netmodule.com>
|
||||
Date: Tue, 14 Jun 2022 16:17:16 +0200
|
||||
Subject: [PATCH] toby: Use wwan0 as device name
|
||||
|
||||
Since the name is anyway hardcoded, let's use the standard netmodule
|
||||
name.
|
||||
|
||||
Signed-off-by: Alexandre Bard <alexandre.bard@netmodule.com>
|
||||
---
|
||||
sdk/LPA_SDK/src/driver/semedia_toby.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/sdk/LPA_SDK/src/driver/semedia_toby.c b/sdk/LPA_SDK/src/driver/semedia_toby.c
|
||||
index 167438b..674593b 100644
|
||||
--- a/sdk/LPA_SDK/src/driver/semedia_toby.c
|
||||
+++ b/sdk/LPA_SDK/src/driver/semedia_toby.c
|
||||
@@ -89,7 +89,7 @@ static char responseBuffer[TOBY_RESPONSE_BUFFER_SIZE];
|
||||
|
||||
// Modem parameters
|
||||
// Note: Modem name is here only used in _seMediaTobyListReader() for dummy list generation. So appear useless in future development
|
||||
-#define GM_SERIAL_PORT_NAME "/dev/ttyACM0" // u-blox Toby
|
||||
+#define GM_SERIAL_PORT_NAME "/dev/wwan0" // u-blox Toby
|
||||
|
||||
// For parameters definition see termios.h
|
||||
// cflag parameters:
|
||||
|
|
@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = ""
|
|||
SRC_URI = "git://gitea@git.netmodule.intranet/NRSW/lpa.git;branch=sdk_1.6;protocol=ssh \
|
||||
file://0001-Fix-segfault-accessing-a-null-pointer.patch \
|
||||
file://0002-semedia_toby-Fix-serial-reading.patch \
|
||||
file://0003-toby-Use-wwan0-as-device-name.patch \
|
||||
"
|
||||
|
||||
PV = "1.0+git${SRCPV}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue