thanks for your help,
Is there such method as
*Service.sendMessage(OutboundMessage msg, List<Gateway> gateway)*
or any other way around, that can achieve above method?
Thanks
On Tuesday, June 10, 2014 1:13:58 PM UTC+6:30, dark cloud wrote:
>
> Hello,
> here is my code flow
> 1. define serial modem gateway with some com port e.g "com1"
> 2. define serial modem gateway with some com port e.g "com2"
> 3. configure SMSService.addgateway("com1")
> 4. configure SMSService.addgateway("com2")
> 5. set inboundmessagenotification
> 6. when message receive, I need to know where did it come from "com1" or
> "com2"
> 7. depending on the port "com1" or "com2" my business logic begins
>
> ******if a message comes in, I need to know which com port did it come
> from in inboundmessagenotification******
>
> Please help me out
> Thanks
>
>
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/smslib/3eea7d5d-cc19-43f9-bb26-270ca9648957%40googlegroups.com.