Sending SMS with Simplewire SDK to a specific port, not working

Hi,
I guess most ppls are familiar with the simplewire SDK. I tried sending SMS to a port on my number thru the SimpleWire SDK but I guess it is not delivering the the apt port.
The reason is quite simple:
I tired sending to the same port on the same phone thru the java wireless API on the same phone and the midlet picked up the SMS.
Anytime I send thru the Simplewire SDK, it comes to the phone (though my ringtone never rings, which suggest it may not going to the default port), but my midlet never picks.
I am suspectign the mode of settin the port may be faulty. Here is my settings
SMS sms = new SMS();
sms.setDestPort(port);
// Where port = (short) 16000

I don�t know but i use the JAVA ME JSR 120
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.wireless.messaging.*;
public class SmsConnecter // implements MessageListener
     String port = "5001";
     public SmsConnecter()
public boolean sendSMS(byte data[]) {
     try {
          String destAddress = "sms://4681234567:5001";
          MessageConnection smsConnection =
               (MessageConnection)Connector.open(destAddress);
          //Create binary message
          BinaryMessage binaryMSG = (BinaryMessage)smsConnection.newMessage(
               MessageConnection.BINARY_MESSAGE);
          //Setting destination add
          binaryMSG.setAddress(destAddress);
          //Add payload data
          binaryMSG.setPayloadData(data);
          //Now send the message
          smsConnection.send(binaryMSG);
          smsConnection.close();
          return true;
     } catch(Exception e) {
          //System.out.println("e="+e);
         return false;   
}Ad about port...
Port number Description
2805 WAP WTA secure connection-less session service
2923 WAP WTA secure session service
2948 WAP Push connectionless session service (client side)
2949 WAP Push secure connectionless session service (client side)
5502 Service Card reader
5503 Internet access configuration reader
5508 Dynamic Menu Control Protocol
5511 Message Access Protocol
5512 Simple Email Notification
9200 WAP connectionless session service
9201 WAP session service
9202 WAP secure connectionless session service
9203 WAP secure session service
9207 WAP vCal Secure
49996 SyncML OTA configuration
49999 WAP OTA configuration
//Mickenull

Similar Messages

  • Catalyst 2960S-LPS-L PoE only on specific ports not working

    Hi,
    we have Catalyst 2960S-LPS-L (48 Ports) here which in general works fine.
    If i connect a Cisco Access Point (2602), it´s powered up via PoE, but on some ports this is not working; it just doesn´t power up. The port configuration is exactly the same. I rebooted the switch, but still the same.
    Any ideas how to troubleshoot this? Is it possible, that the PoE capability on some ports is just broken?
    Thanks
    Heinz

    Hi,
    it did all this, but there are no irregularities. IOS is version 152-1.E2
    #sho post
    Stored system POST messages:
    Switch 1
    POST: MA BIST : Begin
      FC 1   MBIST Test Passed.
      DP Sg1 MBIST Test Passed.
      DP Xg1 MBIST Test Passed.
      NI 1   MBIST Test Passed.
      FC 0   MBIST Test Passed.
      DP Sg0 MBIST Test Passed.
      DP Xg0 MBIST Test Passed.
      NI 0   MBIST Test Passed.
      UPB    MBIST Test Passed.
    POST: MA BIST : End, Status Passed
    POST: TCAM BIST : Begin
    POST: TCAM BIST : End, Status Passed
    POST: Inline Power Controller Tests : Begin
    POST: Inline Power Controller Tests : End, Status Passed
    POST: Thermal, Fan Tests : Begin
    POST: Thermal, Fan Tests : End, Status Passed
    POST: PortASIC Stack Port Loopback Tests : Begin
    POST: PortASIC Stack Port Loopback Tests : End, Status Passed
    POST: PortASIC Port Loopback Tests : Begin
    POST: PortASIC Port Loopback Tests : End, Status Passed
    POST: EMAC Loopback Tests : Begin
    POST: EMAC Loopback Tests : End, Status Passed
    #sho power inline
    fti-mco01-ssw01#sho power inline
    Module   Available     Used     Remaining
              (Watts)     (Watts)    (Watts)
    1           370.0       84.7       285.3
    2           370.0       56.7       313.3
    3           370.0      169.4       200.6
    Interface Admin  Oper       Power   Device              Class Max
                                (Watts)
    Gi1/0/1   auto   on         6.3     IP Phone 7940       n/a   30.0
    Gi1/0/2   auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/3   auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/4   auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/5   auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/6   auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/7   auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/8   auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/9   auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/10  auto   on         6.3     IP Phone 7912       n/a   30.0
    Gi1/0/11  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/12  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/13  auto   on         6.3     IP Phone 7940       n/a   30.0
    Gi1/0/14  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/15  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/16  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/17  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/18  auto   on         6.3     IP Phone 7940       n/a   30.0
    Gi1/0/19  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/20  auto   on         6.3     IP Phone 7940       n/a   30.0
    Gi1/0/21  auto   on         6.3     IP Phone 7940       n/a   30.0
    Gi1/0/22  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/23  auto   on         6.3     IP Phone 7960       n/a   30.0
    Gi1/0/24  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/25  auto   on         6.3     IP Phone 7940       n/a   30.0
    Gi1/0/26  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/27  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/28  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/29  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/30  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/31  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/32  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/33  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/34  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/35  auto   on         6.3     IP Phone 7960       n/a   30.0
    Gi1/0/36  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/37  auto   on         6.3     IP Phone 7960       n/a   30.0
    Gi1/0/38  auto   on         15.4    AIR-SAP2602I-E-K9   3     30.0
    Gi1/0/39  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/40  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/41  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/42  auto   on         6.3     IP Phone 7912       n/a   30.0
    Gi1/0/43  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/44  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/45  auto   off        0.0     n/a                 n/a   30.0
    Gi1/0/46  auto   off        0.0     n/a                 n/a   30.0
    Port G1/0/44 is not delivering PoE; Port G1/0/38 has exactly the same configuration and it´s working.

  • Iphone 5 from SPRINT cannot send SMS with GSM Sim outside US

    Hi admin support Apple
    I have purchased Iphone 5 Sprint U.S..Before Vietnam has conducted open network and is used normally.after Vietnam I put sim Viettel normal user functions (Voice, SMS, 3G, IMessage, FaceTime by Apple ID). But after reset to manufacturer's default is still used.but do not send SMS with GSM in Vietnam
    I tried doing the following steps:
    Reset Content and All Setting.
    using MMS
    Disable IMessage.
    Changing SMSC number
    But there is not.
    Information on a computer that is running:
    Modem: MD656LL
    Serial Number: DNPJG8NUF8GH
    EMEI: 99 000226 455839 4
    MEID: 99000226455839
    Looking forward to the support from Apple
    Thank you!

    Well yes, you probably will have problems with your phone because a 'contract free' phone is NOT the same as a fully unlocked iPhone.
    This is a user forum, so nobody here can really help you.  As Sprint is your carrier in the US, then you need to contact them first.  They are the only ones who can help you.

  • Send SMS with REST

    Hi,
    After I get some problems to install and configure OCSG, I think I can now start do develop, but I still have a problem: I've never work with REST neither OCSG, so I have no idea how to:
    1 - deploy an application in OCSG
    2 - the sintax to send SMS
    Imagine that my OCSG is running on http://localhost:7003/
    I've found this sample:
    org.csapi.schema.parlayx.sms.send.v2_2.local.SendSms request = new org.csapi.schema.parlayx.sms.send.v2_2.local.SendSms();
    SimpleReference sr = new SimpleReference();
    sr.setEndpoint(new URI("http://localhost:8111/SmsNotificationService/services/SmsNotification?WSDL"));
    sr.setCorrelator("cor188");
    sr.setInterfaceName("InterfaceName");
    ChargingInformation charging = new ChargingInformation();
    charging.setAmount(new BigDecimal("1.1"));
    charging.setCode("qwerty");
    charging.setCurrency("USD");
    charging.setDescription("some charging info");
    sendInf.setCharging(charging);
    URI[] uri = new URI[1];
    uri[0] = new URI("1234");
    request.setAddresses(uri);
    request.setCharging(charging);
    request.setReceiptRequest(sr);
    request.setMessage("we are testing sms!");
    request.setSenderName(“6001”);
    org.csapi.schema.parlayx.sms.send.v2_2.local.SendSmsResponse response =
    smport.sendSms(request);
    String sendresult = response.getResult();
    System.out.println("result: " + sendresult);
    If I want to send an SMS in REST, without charging, how can I do that? Anyone have some examples of how to send SMS with REST through OCSG? Please, I need help, my deadline is so short...
    Tks
    Raquel

    The iPhone remembers information about previous contacts.
    Complelely independently, you have a Contacts app with a contacts list.  It sounds like your contacts list has 3 names on it.  You need to add a few names.

  • Hi, I am wondering why my iphone won't send pictures through messages, I have MMS on and I have tried sending it with 3G on aswell and still doesn't work. Someone please help me :)

    Hi, I am wondering why my iphone won't send pictures through messages, I have MMS on and I have tried sending it with 3G on aswell and still doesn't work. Someone please help me :)

    Hey lozza567,
    Thanks for the question. I understand that you are experiencing issues sending MMS messages. The following resource may provide a solution:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Issues with sending and receiving MMS
    You will need these to send and receive MMS:
    - An iPhone 3G or later.
    - iOS 3.1 or later.
    - A cellular data connection. MMS isn't available if you are using only Wi-Fi.
    - A domestic MMS plan from your cellular provider. You may need an international messaging plan to send MMS to an international contact. Contact your carrier for more information.
    - A roaming MMS when using a cellular provider's network different from your billing cellular provider's network. Learn more about roaming and contact your carrier for more information.
    To resolve issues with sending and receiving MMS, follow these steps first
    1. Go to Settings and turn airplane mode off.
    2. Go to Settings > Messages and turn MMS Messaging on.
    3. Go to Settings > Cellular and turn Cellular Data on.
    4. Go to Settings > Cellular and turn Data Roaming on if you are roaming on a cellular provider network different from your billing provider's network.
    5. Verify that you have a cellular data connection in the status bar at the top left of your iPhone.
    6. Go to Settings and turn Wi-Fi off. Open Safari and navigate to www.apple.com to verify that you have a data connection. Turn Wi-Fi back on to continue using Wi-Fi for other features. If your cellular data connection isn't available, follow these steps.
    7. Verify that you can send and receive SMS. If you are unable to send and receive SMS, see the "Issues with sending and receiving SMS" section, above.
    8. MMS may not be available while on a call. Only 3G and faster GSM networks support simultaneous data and voice calls. Learn more about which network your phone supports.
    9. Restart your iPhone.
    10. Tap Settings > General > Reset > Reset Network Settings on your iPhone.
    11. Reseat your SIM card.
    If you are still unable to send or receive MMS, follow these steps
    1. Make sure that the contact trying to message you isn't blocked in Settings > Messages > Blocked.
    2. Go to Settings > Messages and turn on group messaging if you are sending a group message.
    3. Make sure that you are using the area code with the contact's phone number. When sending messages internationally, you also need the contact's international code.
    4. Verify a "Pay as you go" MMS plan has enough available balance. Contact your carrier if unsure of your MMS plan or available balance.
    5. If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    6. If the issue occurs with a specific contact or contacts, delete and re-create the contact from the Contacts application. Create a new message to the newly created contact and try again.
    7. Back up and restore your iPhone as new.
    8. If your carrier has recently ported your phone number, the porting process may not be complete. Contact your carrier to confirm that the porting process is complete.
    9. Contact your carrier to verify that you are provisioned to send SMS and are in an area with cellular coverage.
    10. Contact your carrier to verify that there are no blocks or filters placed on your wireless account preventing you from sending SMS.
    11. Your carrier may require APN settings to be modified to use MMS. Learn more about when you should adjust APN settings.
    Thanks,
    Matt M.

  • Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for thos

    Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for those with adobe pro.  i could not get it to work with reader.  is there a way i can make it work for reader?

    Noted.
    The LiveCycle user to user forum is across town at:
    Adobe LiveCycle 
    Be well...

  • After sending sound from find my iphone, now ipad does not work

    after sending sound from find my iphone, now ipad does not work
    it can't be unlock and scrren is blank, only siri works

    Try a reset: hold down the home button along with the sleep/wake button until you see the apple, then let go.

  • Portege R500 with XP: Offline files from server do not work

    I have a strange problem with a brand new R500 with XP installed. Offline files does not work: I can copy files down from servers, but when I attempt to copy back, I get an error
    "Offline Files (XXX on YYY): Access to ZZZ is denied on ZZZ."
    where XXX is either a samba share or a normal windows share. I have all the permissions to access those files, and can edit them if I go online without synchronising offline changes.
    I would ask this on the XP group, but I've +never+ seen this on any other laptops I've used (including Toshiba). Offline files to these servers still works for me on an older laptop (running an up to date XP), using the same account details and even using the roaming profile. Its also not related to any of the standard Offline files problems that are turned up on Microsoft's Knowledge Base.
    What more can I test - this problem seems specific to this laptop, and if I can't use offline files, the machine is practically useless to me (modulo paying for, and then setting up an equivalent piece of software).
    Should I try uninstalling TrueSuite for example?
    Anthony

    I have disabled the TrueSuite File Protection and now offline files work.
    This would seem to be really important limitation to the software, and I can't find any supporting documentation about TrueSuite, nor any updates for it.
    Anthony

  • Problem with new version 4.3.2 apps not working " after update to the new version "

    Problem with new version 4.3.2 apps not working " after update to the new version "
    i was in 4.3.1 then i do the update , but now after update i face this problem , so what i Supposed to do ?!!

    Hi There
    Had the same problem as you. App would terminate when launched.
    Solution to working You Tube app:
    -Go to playstore
    - Uninstall app (it doesn't remove the app, only removes the update)
    - "Et Voila", working again.
    This doesn't correct the problem, it's just a workaround for you to be able to use youtube app again.
    Hope it helped.
    Best Regards

  • Hi! I sold my Iphone on ebay. The seller wants to connect the Iphone with his Apple ID, but it did not work because it says that the Iphone is already connected with another Apple ID. How can I get rid of this old connection? What do I have to do?

    Hi! I sold my Iphone on ebay. The seller wants to connect the Iphone with his Apple ID, but it did not work because it says that the Iphone is already connected with another Apple ID. How can I get rid of this old connection? What do I have to do?

    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT5661
    MaggySimpson wrote:
    Hi! I sold my Iphone on ebay.
    Follow the instructions to remove a device you no longer have.
    From here  >  http://support.apple.com/kb/PH13695?viewlocale=en_US

  • I have changed my Apple ID name and I want to change it on iCloud, however I am not able to delete the previous account because I need to turn off the Find my iPhone - and for that I need to log in with the old name and that is not working. Help anyone?

    I have changed my Apple ID name and I want to change it on iCloud, however I am not able to delete the previous account because I need to turn off the Find my iPhone - and for that I need to log in with the old name and that is not working. Help anyone?

    Hey tulgan,
    This link will provide information on what to do after you change your Apple ID:
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796
    Welcome to Apple Support Communities!
    Take care,
    Delgadoh

  • My sons ipod classic was left on all day and now has a red circle with a cross in it and will not work

    my sons ipod classic was left on all day and now has a red circle with a cross in it and will not work - nothing we do will make it work - any ideas??

    Try to restore the iPod. Here's an article that provides troubleshooting for it.
    http://support.apple.com/kb/TS1463
    If that doesn't work visit an Apple Store and see if they can replace it.

  • I have a mid 2009 macbook pro and my issue is that I installed windows 7 and when I wan to install the drivers it says " bootcamp x64 is unsupported on this computer model" I tried installing the drivers with the bootcamp 4 but it did not work either

    I have a mid 2009 macbook pro and my issue is that I installed windows 7 and when I wan to install the drivers it says " bootcamp x64 is unsupported on this computer model" I tried installing the drivers with the bootcamp 4 but it did not work either it says that i have a newer bootcamp version. I tried a few tricks but they didnot work. I hope to be helped

    Welcome to Apple Support Communities
    You can install a 64-bit Windows 7 or Vista version in your Mac. Make sure you downloaded these drivers > http://support.apple.com/kb/DL1630 Also, if you have the Snow Leopard DVD you used to upgrade your Mac or the OS X DVD that came with your Mac, you can use it to install the Boot Camp drivers

  • Pie chart with two measures and date dimension navigation not working

    Hi Experts,
    Pie chart with two measures and date dimension navigation not working. Any help is appreciated.
    Thanks
    V

    Hi Deepak,
    I had time dimension in the RPD.
    I have stacked bar chart with same time dim like year & month in the report. when I go to legand and set navigation it is working fine. But not with pie chart.
    I am not not sure what is the problem. When I click on Pie chart it is not navigating to the target report. Can it be any other issues..???

  • HT201263 my ipod touch 4th gen isnt work after a long time with 0 percent battery power.Then its not working. computer doesnt respond to my ipod .only black screen is appearing it even not wake up after reset it what can i do please help me

    my ipod touch 4th gen isnt work after a long time with 0 percent battery power.Then its not working. computer doesnt respond to my ipod .only black screen is appearing it even not wake up after reset it what can i do please help me

    After being connected to a charging source overnight try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

Maybe you are looking for

  • Multiple Storage Volumes For 1 Library

    Hi folks. I have filled my first drive. Any way I can use space on another drive to put further music, while keeping one single library? Cheers

  • Stuck in a limbo: can't install Safari or Lion/Mountain Lion, can't access App Store

    If someone would take up this challenge and attempt to solve it with me, I would appreciate it! I have troubleshooted for 2 days now to no avail. This is what happened: 1) I accidentally installed Safari 6.0, even if I have Lion 10.7. which doesn't r

  • JRE Versions...

    Hi all, I am newly employed at a different company and used to use Java to write little widgets and apps at my last job. I have started doing so again at my new job and people are pleased... for the most part. A big problem that has occured is the co

  • Oracle Server help!

    Hi all the SQL experts out there, I am a newbie looking for some help. (please dont' laugh at my questions... :p) I am trying to insert some data into a table store in an Oracle database server by using Oracle SQL Developer INSERT INTO retail_channel

  • How configure Report Server

    Hello everybody, I have just installed Developer 10. Yesterday, I made a report JSP from JDeveloper with the Report Builder, but when I execute the page with the local OC4J Server, the page crashes: javax.servlet.jsp.JspException: REP-51002: Fail to