Перейти к содержанию
    

bernarduh

Участник
  • Постов

    5
  • Зарегистрирован

  • Посещение

Репутация

0 Обычный
  1. Thanks anyway. At least i manage to get it working with the order daemon. May be later i'll get back to the n_gsm driver and run some more tests to figure out why doesn't the n_gsm work and the order deamon does.
  2. I launch the script and it creates the ttyGSM1/2/3/4 but when i try to use any of the ttyGSM i get "[Errno 51] Level 2 halted". So i started digging the n_gsm driver source and found out that the tty_open return that error if the DLC for that port was not establish. I enabled the debugging to see what was been sent and received from the module and found out that the n_gsm sends: F9 03 3F 01 1C F9 to the module to establish the control DCL0 and the module replies with: F9 03 73 00 00 A4 F9 accepting the connection and also sends: F9 F9 F9 F9 F9 F9 F9 F9 after that. At this point the n_gsm driver does nothing until we try to open a MUX channel (ttyGSM). When we do that the module only replies with: F9 F9 F9 F9 What module are you using? Is it the same SIM5320E?
  3. I'm using Linux. I have tested that precise script but no luck. I finally did some progress by using another daemon (http://sourceforge.net/projects/gsmmux.berlios/). I think that the problem with the Linux driver n_gsm is that it creates the DLC0 (Data Link Connection for control of the MUX) but then only creates the other DCL on demand (when we try to open the virtual ttyGSM1/2/3/4) and the SIM5320 module expects the DCLs to be open right away.
  4. Hello. I'm prototyping a board that uses a SIM5320. Currently i have a prototype that is working with the uart interface without multiplexer. My next and crucial step is to get the uart interface to use the multiplexer function so that i can have 3G/GPRS and GPS at the same time. The module is connected through a null modem connection (RTX -> TXD/ TXD -> RXD). To implement the 07.10 Multiplexer protocol i'm using the Linux kernel driver n_gsm. Currently i have already modified this driver in order to get some comunications out of the SIM5320 in CMUX mode. I'm able to establish the DLC0 but after that the only thing that the SIM5320 sends is sequences of F9 F9 F9 F9. After a lot of digging i found out that the module can send this flags in a few situations: Indicate the connection is established. Module has wake up from sleep mode. Module is out of sync and is discarding the frames until i send it F9 F9 F9 F9. I already tried to send it back the F9 F9 F9 F9 but the module send them back :s. ATI Manufacturer: SIMCOM INCORPORATED Model: SIMCOM_SIM5320E Revision: SIM5320E_V1.5 IMEI: 861311000924364 +GCAP: +CGSM,+DS,+ES OK Currently this is the only issue stopping me from sending the board for PCB production so this is kind of urgent. I'm really need help on this topic. Thank you for your attention. Sorry for posting in English but i Portuguese and can't speak Russian.
  5. Привет Я работаю с SIM5320E и я также пытаюсь использовать мультиплексор над UART, но у меня возникают некоторые проблемы с ним. Я использую драйвер n_gsm Linux. На самом деле, я должен был изменить его немного. Я следую Руководство V1.4 в SIMCOM мультиплексора пользователя, но модуль не работают в нормальном режиме. После DCL0 установлено оно держать не посылая F9 F9 F9 F9 не имеет значения команды я посылаю. Я уже пыталась отправить F9 F9 F9 F9 назад, но это просто продолжал посылать назад F9 F9 F9 F9. Было ли у вас эта проблема? Любое имеет Ideia как преодолеть это? Я protuguese. К сожалению по поводу текста. (Я могу говорить на английском языке ...) Спасибо заранее.
×
×
  • Создать...