06-20-2012 03:45 AM
I'm not able to send datagrams using a BIS connection. I tried to append at url "ConnectionType=mds - public" but it doesn't work.
BB Documentation says: "To use the BlackBerry Internet Service transport, you must sign up for the Push Service". I did it because my app uses Push Notifications too but i dont understand why this is necessary. Which information obtained from the registry are used in BIS? and how is it used??
Thanks in advance!
Solved! Go to Solution.
06-20-2012 04:17 AM
As I understand it, the requirement to use Push Services is not actually there because there is anything in the Push Service used for BIS-B, it is because the process of signing up for Push Services means you agree to some Terms and Conditions that relate to your usage of BIS-B, which push uses. So there is nothing technical in the requirement, it is purely legal.
To help with your problem using BIS-B, we are going to need a more information, like the Exception thrown.
06-20-2012 04:50 AM - edited 06-20-2012 04:51 AM
Ah ok Peter, thanks.
No strange exception, only timeout exception.
The context is the following, an application that needs to send information to a device located in a building when users are not in the building.
In the application I use http connections (Web Services) and datagrams (UDPDatagramConnection) but the problem in both (I think) comes down to what to put in the url to use BIS-B or what other actions should I take for it??
All books, forums or documentation that I have consulted explains the different types of connections that exist and how to perform them:
Direct TCP: "deviceside=true" and another APN configurations.
WAP: "ConnectionUID=WAP2" and another configurations.
BlackBerry MDS: "deviceside=false"
What about BIS-B? I have read about "deviceside=false;ConnectionType: mds - public" but it doesn't work or any other action is necessary?
I hope you understand me now, thanks in advance!!
06-20-2012 04:57 AM
06-20-2012 05:28 AM
I know Simon, sorry, but I don't know how to explain it without posting it.
ConnectionFactory is since 5.0 devices but I think I understand now why it does not work by GCF.
Note: WAP 1.x, WAP2, MDS and BIS_B do not support udp:// or datagram:// connections.
Is this true?Simon can you confirm me the only way to do UDP connections is a direct TCP or a WiFi connection??
Thanks very much!!
06-20-2012 05:35 AM