Questions tagged [gnokii]

gnokii provides tools and a user space driver for use with mobile phones under various operating systems (most testing is done under Linux but also Solaris, *BSD family and MS Windows families are known to work). If you wonder whether your phone is supported or not, it is safe to assume it is supported, at least when the phone is fairly modern.

7 questions
4
votes
4 answers

How to I read cmd output in VB.NET from cmd shell?

I am using gnokii to send out SMSes. My VB Codes: Dim xCmd As String xCmd = "cmd.exe /c echo msgcontent "| c:\gnokii\gnokii.exe --sendsms 12345678" Shell(xCmd) Points to note: I did try to redirect the output to a .txt file but the .txt file…
Joyce
  • 417
  • 1
  • 8
  • 19
2
votes
1 answer

Passing muliline and single line parameters to a MS DOS bat file

im try to send sms using gnokii sms library (http://gnokii.org/) with vb .net,im created a seperate bat file and call that bat file from my vb.net code this is my vb code Dim process As New System.Diagnostics.Process Dim startInfo As New…
Amila Thennakoon
  • 390
  • 1
  • 4
  • 14
1
vote
1 answer

gnokii: API error?

I have issues with the following code: #include #include #include #include #define CONFIG_FILE "config" struct gn_statemachine *state; void terminate(void) { gn_lib_phone_close(state); …
capede
  • 897
  • 1
  • 11
  • 26
0
votes
1 answer

segmentation fault once sending message with gnokii gn_sms_send

here are the code folks : #include #include #include #include /* * */ #define _(x) x struct gn_statemachine *state = NULL; void busterminate(void) { gn_lib_phone_close(state); …
capede
  • 897
  • 1
  • 11
  • 26
0
votes
1 answer

Hard reconect USB device from bash

I have a lot of USB modems connected to a server. Sometimes USB not respond to software like gnokii o gammu (I need read IMEI) and we need disconnect device and reconnect, and the problem is solved. I need a way to do this from bash. I know is…
pablorsk
  • 2,420
  • 1
  • 25
  • 26
0
votes
1 answer

How to send Multiline sms using gnokii with vb.net

dear all im tried to send multiline sms using gnikii but it fails Dim xCmd As String xCmd = "cmd.exe /c echo " & txtBody.Text & " | c:\sms\gnokii.exe --sendsms 0771234567 2> test.txt" Shell(xCmd) Please help me
Amila Thennakoon
  • 390
  • 1
  • 4
  • 14
0
votes
1 answer

Sending/Receiving Bulk SMS via USB Modem and gnokii-smsd-pgsql

I'm trying to send and receive bulk SMSs via a standard GSM USB Modem using gnokii-smsd-pgsql on Debain Squeeze 6.0.3 64-bit. I'm following instructions from the following site: http://thelogbox.com/send-receive-sms-messages-usb-modem-linux/ I…
Shalin
  • 95
  • 1
  • 12