* [Bluez-devel] Multiplexing for SimAccessProfile
@ 2006-08-08 9:10 Götz Issel
2006-08-08 9:22 ` Mayank BATRA
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Götz Issel @ 2006-08-08 9:10 UTC (permalink / raw)
To: bluez-devel
Hi all,
I am still working on the Sim Access Profile implementation and am now
stuck on the communnication with the GSM module I use, the serial port
multiplexing.
The connection to the bluetooth device and all the messages and
responses to and from the mobile phone work fine. So the bluetooth part
is done. Now the GSM module will need to have the data from the SIM of
the mobile phone to use it for connectiong to the GSM network. Since I
use a device from Siemens (AC45) it already has the multiplexing (GSM
07.10) integrated meaning that I can send an AT-command (at+cmux=0) and
it will switch to multiplexing mode and work as required. It will know
how to handle data packets coming in from the serial port to divide them
into each channel and how to pack the data with the apppropriate header
from each multiplexing channel to be sent back over the single serial port.
The missing part is in my software. It will need to wrap and unwrap the
messages to and from the GSM modem in the form it is defined in the
specification for this multiplexing.
There is solution of a final year project of a student in Finnland
available, but it seems to possible have a few bugs.
(http://users.tkk.fi/~tkarvone/). Compiling is fine and the load of user
space serial port module at runtime is ok too. To my understanding a
controlling application is the second part of this project, which will
open the port and enable the multiplexing of the GSM device and then
wait for data coming into or out of the "virtual" ports, wrapping or
unwrapping the data packets. Or am I wrong and have to replace the
application with my blueZ-SAP-application?
Has anyone used this multiplexing implementation successfully or does
anyone know of a different implementation of the multiplexing as
opensource to use with linux?
Greetings,
Goetz
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] Multiplexing for SimAccessProfile
2006-08-08 9:10 [Bluez-devel] Multiplexing for SimAccessProfile Götz Issel
@ 2006-08-08 9:22 ` Mayank BATRA
2006-08-08 9:53 ` Peter Wippich
2006-08-08 11:56 ` Marcel Holtmann
2 siblings, 0 replies; 4+ messages in thread
From: Mayank BATRA @ 2006-08-08 9:22 UTC (permalink / raw)
To: 'BlueZ development'
Hi Goetz,
Can you release the source code? I'll try at my end. I have a phone
supporting SAP.
Regards,
Mayank
> Hi all,
>
> I am still working on the Sim Access Profile implementation and am now
> stuck on the communnication with the GSM module I use, the serial port
> multiplexing.
>
> The connection to the bluetooth device and all the messages and
> responses to and from the mobile phone work fine. So the
> bluetooth part
> is done. Now the GSM module will need to have the data from the SIM of
> the mobile phone to use it for connectiong to the GSM network. Since I
> use a device from Siemens (AC45) it already has the multiplexing (GSM
> 07.10) integrated meaning that I can send an AT-command
> (at+cmux=0) and
> it will switch to multiplexing mode and work as required. It will know
> how to handle data packets coming in from the serial port to
> divide them
> into each channel and how to pack the data with the
> apppropriate header
> from each multiplexing channel to be sent back over the
> single serial port.
>
> The missing part is in my software. It will need to wrap and
> unwrap the
> messages to and from the GSM modem in the form it is defined in the
> specification for this multiplexing.
>
> There is solution of a final year project of a student in Finnland
> available, but it seems to possible have a few bugs.
> (http://users.tkk.fi/~tkarvone/). Compiling is fine and the
> load of user
> space serial port module at runtime is ok too. To my understanding a
> controlling application is the second part of this project, which will
> open the port and enable the multiplexing of the GSM device and then
> wait for data coming into or out of the "virtual" ports, wrapping or
> unwrapping the data packets. Or am I wrong and have to replace the
> application with my blueZ-SAP-application?
>
> Has anyone used this multiplexing implementation successfully or does
> anyone know of a different implementation of the multiplexing as
> opensource to use with linux?
>
> Greetings,
> Goetz
>
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] Multiplexing for SimAccessProfile
2006-08-08 9:10 [Bluez-devel] Multiplexing for SimAccessProfile Götz Issel
2006-08-08 9:22 ` Mayank BATRA
@ 2006-08-08 9:53 ` Peter Wippich
2006-08-08 11:56 ` Marcel Holtmann
2 siblings, 0 replies; 4+ messages in thread
From: Peter Wippich @ 2006-08-08 9:53 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1: Type: TEXT/PLAIN, Size: 3384 bytes --]
Hi Goetz,
TS07.10 ~ RFCOMM ....
Sorry ;-) but this won't help you much. No, I'm not aware of any free
implementation of TS07.10. You can ask Siemens for Multiplexer Source code
(I know they have) but I don't know if they are willing to release it and
I'm pretty sure they are not willing to release it for a GPL project.
On the other hand the Siemens modules do only use a subset of TS07.10 and
it isn't that hard to implement. If you already got something you may try
to debug it.
Ciao,
Peter
On Tue, 8 Aug 2006, Götz Isse wrote:
> Hi all,
>
> I am still working on the Sim Access Profile implementation and am now
> stuck on the communnication with the GSM module I use, the serial port
> multiplexing.
>
> The connection to the bluetooth device and all the messages and
> responses to and from the mobile phone work fine. So the bluetooth part
> is done. Now the GSM module will need to have the data from the SIM of
> the mobile phone to use it for connectiong to the GSM network. Since I
> use a device from Siemens (AC45) it already has the multiplexing (GSM
> 07.10) integrated meaning that I can send an AT-command (at+cmux=0) and
> it will switch to multiplexing mode and work as required. It will know
> how to handle data packets coming in from the serial port to divide them
> into each channel and how to pack the data with the apppropriate header
> from each multiplexing channel to be sent back over the single serial port.
>
> The missing part is in my software. It will need to wrap and unwrap the
> messages to and from the GSM modem in the form it is defined in the
> specification for this multiplexing.
>
> There is solution of a final year project of a student in Finnland
> available, but it seems to possible have a few bugs.
> (http://users.tkk.fi/~tkarvone/). Compiling is fine and the load of user
> space serial port module at runtime is ok too. To my understanding a
> controlling application is the second part of this project, which will
> open the port and enable the multiplexing of the GSM device and then
> wait for data coming into or out of the "virtual" ports, wrapping or
> unwrapping the data packets. Or am I wrong and have to replace the
> application with my blueZ-SAP-application?
>
> Has anyone used this multiplexing implementation successfully or does
> anyone know of a different implementation of the multiplexing as
> opensource to use with linux?
>
> Greetings,
> Goetz
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
| Peter Wippich Voice: +49 30 46776411 |
| G&W Instruments GmbH fax: +49 30 46776419 |
| Gustav-Meyer-Allee 25, Geb. 12 Email: pewi@gw-instruments.de |
| D-13355 Berlin / Germany |
[-- Attachment #2: Type: text/plain, Size: 373 bytes --]
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] Multiplexing for SimAccessProfile
2006-08-08 9:10 [Bluez-devel] Multiplexing for SimAccessProfile Götz Issel
2006-08-08 9:22 ` Mayank BATRA
2006-08-08 9:53 ` Peter Wippich
@ 2006-08-08 11:56 ` Marcel Holtmann
2 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2006-08-08 11:56 UTC (permalink / raw)
To: BlueZ development
Hi Goetz,
> I am still working on the Sim Access Profile implementation and am now
> stuck on the communnication with the GSM module I use, the serial port
> multiplexing.
>
> The connection to the bluetooth device and all the messages and
> responses to and from the mobile phone work fine. So the bluetooth part
> is done. Now the GSM module will need to have the data from the SIM of
> the mobile phone to use it for connectiong to the GSM network. Since I
> use a device from Siemens (AC45) it already has the multiplexing (GSM
> 07.10) integrated meaning that I can send an AT-command (at+cmux=0) and
> it will switch to multiplexing mode and work as required. It will know
> how to handle data packets coming in from the serial port to divide them
> into each channel and how to pack the data with the apppropriate header
> from each multiplexing channel to be sent back over the single serial port.
>
> The missing part is in my software. It will need to wrap and unwrap the
> messages to and from the GSM modem in the form it is defined in the
> specification for this multiplexing.
>
> There is solution of a final year project of a student in Finnland
> available, but it seems to possible have a few bugs.
> (http://users.tkk.fi/~tkarvone/). Compiling is fine and the load of user
> space serial port module at runtime is ok too. To my understanding a
> controlling application is the second part of this project, which will
> open the port and enable the multiplexing of the GSM device and then
> wait for data coming into or out of the "virtual" ports, wrapping or
> unwrapping the data packets. Or am I wrong and have to replace the
> application with my blueZ-SAP-application?
everything depends on what you actually need. An overall general
solution would be a GSM 07.10 for the Linux kernel that allows us to
multiplex any TTY supporting it. We don't have this and so far nobody
actually tried to work on this. There are some efforts with the guys
hacking the Motorola Linux phones, but so far I am not aware of any real
useable code.
The question for you should be if you need this running inside the
kernel or is some userspace library or self-written code enough. To
answer this you must answer if this GSM module will be only used by your
SAP-Gateway or do you wanna also share it with other applications. If
you wanna share it then you need to focus on a kernel implementation
that does the multiplexing and then present independent TTYs for each
channel. If you are the only user of the GSM module, then you might
simply implement GSM 07.10 directly into your SAP-Gateway. This will
make you independent.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-08-08 11:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-08 9:10 [Bluez-devel] Multiplexing for SimAccessProfile Götz Issel
2006-08-08 9:22 ` Mayank BATRA
2006-08-08 9:53 ` Peter Wippich
2006-08-08 11:56 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox