Project

General

Profile

Toolkit as Windows service?

Added by admin over 2 years ago

Hi,

Is it possible to run your toolkit as windows service (like
mobiledatanow.com)in sync with a database .
For example i have a sql server employee database.
When I send employee ID by sms , the toolkit query the database for the ID
and send the response(Employee Name,Hire Date,etc.. ) to the requester .
How can I do that with your kit ?
Thanks


Replies (8)

RE: Toolkit as Windows service? - Added by admin over 2 years ago

Hi,

Yes yo can definitely do that. Refer to

https://github.com/mengwangk/messagingtoolkit-web-api
https://github.com/mengwangk/messagingtoolkit-smartgateway

This will give you an idea on how to write a Windows service using
MessagingToolkit.

Thanks
Regards

RE: Toolkit as Windows service? - Added by admin over 2 years ago

Hi,
1)Does my license key cover smart gateway ?
2)Do mind writing a sample c# app that interact with ms access or sql
server ?
Let says i have employee table EMPLOYEE :
ID NAME
01 JOHN DOE
02 JANE DOE
03 MO CISSE

If I text 02 to sms modem connected to my database (for example phone #
:2123474500), the system query my database and return JANE DOE.
I don't mind paying for the sample code .I am doing a little project for a
school in Africa.
3)What type of sms modem or phone best work with your toolkit ?
Thanks

RE: Toolkit as Windows service? - Added by admin over 2 years ago

Hi,

Yes. You can modify smart gateway to suit your need. Related to the
sample, based on your requirements it should be straightforward. I would
suggest you try it out and if you need further help do let me know.

The toolkit can be used for most USB or serial modems.

Thanks
Regards

RE: Toolkit as Windows service? - Added by admin over 2 years ago

Hi,

Do i have to use frmDatabaseMessenger.cs ?
Thanks

RE: Toolkit as Windows service? - Added by admin over 2 years ago

Hi,

Take a look at this class. You can basically reuse this and little customization for your own needs.

https://github.com/mengwangk/messagingtoolkit-web-api/blob/master/MessagingToolkit.Service.Host/MessagingService.cs

The project is using a Windows service

https://github.com/mengwangk/messagingtoolkit-web-api

To use Microsoft Access

https://msdn.microsoft.com/en-us/library/ms171893.aspx

Let me know any further questions you have.

Thanks
Regards
admin

RE: Toolkit as Windows service? - Added by admin over 2 years ago

Hi,
I know how to connect to ms access/sql server all that.
My problem is :
1) How to read the configuration of the sms modem (Baude rate,etc...) or phone (mymobkit).
2)the system read the sms (text considered as employee ID)
3)query the database (select name ,picture from employee where employeeID='sms text')
4)if exist send name and picture to the requester (using mms)

RE: Toolkit as Windows service? - Added by admin over 2 years ago

Hi,

My problem is :
1) How to read the configuration of the sms modem (Baude rate,etc...) or phone (mymobkit).

Since this is a windows service and you are using a database, you can store the config in a database table.

2)the system read the sms (text considered as employee ID)

You can use MessagingToolkit here.

3)query the database (select name ,picture from employee where employeeID='sms text')
4)if exist send name and picture to the requester (using mms)

The picture can be stored as base 64 encoded or as blob and use Messagingtoolkit to send.

    (1-8/8)