Product: | MOBITEK Q24 SMS MODEM, Type SGDK | ||
Which Development Kit are you using? |
|
What is the Operating System? | Windows 10, 64 bit |
Description of Problem: |
Incoming msg and check credit seem fine but could not send outgoing messages. Message seems always in the queue but not sending out. SMS are stuck in the outbox, it won’t send out. But Engine can received incoming SMS into inbox.
|
||
Suggested Solution: | We suggested you to:1. Run the SMS ENGINE as “administrator”
2.Change the “Region> Formats” to “English (United States)”. – Change the format to English (US). then click OK 3. Allow “Full control” to “Everyone” for the database file, “SMSEngine5.mdb”.
|
Author Archives: Baharum Shafiqah
EXCEPTION_ACCESS_VIOLATION; Failed to write core dump
Product: |
|
||
Which programming language are you using? |
|
OS |
Windows 7, 64 bit |
Description of Problem: |
We are able to start multiple threads, but we are now getting this error;
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x72949197, pid=17788, tid=18388
#
# JRE version: 7.0-b147
# Java VM: Java HotSpot(TM) Client VM (21.0-b17 mixed mode windows-x86 )
# Problematic frame:
# C [MSVBVM60.DLL+0x9197]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\mlimaki\git\STKEngine\STKEngine\hs_err_pid17788.log
|
||
TROUBLE SHOOTING STEPS : | Please answer all questions:-
|
||
Final Solution: | 1. your Java code must follow strictly the “STK API FLOW CHART” in page 12 of the manual, “MOBITEK STK API version 6.pdf”. Refer figure below for the flow chart;
2. your Java code must call STKStatusGet() and wait for a response moving moving to next step, i.e sequential 3. your Java code must call “MobitekSTKAPI.dll” (STK API) in synchronous manner, i.e. you must wait for a response from STK API before calling another function; 4. DO NOT call “MobitekSTKAPI.dll” (STK API) in asynchronous manner, i.e. your Java code make mutiple calls to STK API without waiting for any response as this will cause your code, API or modem to crash. |
“OK” Bug in MOBITEK STK API version 6.3
Product: |
|
||
Which programming language are you using? |
|
OS |
|
SIM CARD: | M-PESA | ||
Description of Problem: | 1) The menu is not submitting when it get to the end of the flow. On Android, the menus shows a message saying “sending…”, which stays on for few seconds, before presenting a confirmation box with “Ok” and “Cancel” buttons.
2) The menu fails to submit any value which starts with “Ok”. Some customers have names (first name, last name) starting with “Ok”. Example “Okie”. |
||
TROUBLE SHOOTING STEPS : | Do you have anyone with name with just 2 letters — “OK” ?
Note:-
|
||
Final Solution: |
|
How to Write a Multi-Threaded Java Code with MOBITEK Q24 STK API
SUMMARY OF SUPPORT for MOBITEK Q24 STK MODEM
Product: |
|
||
Which programming language are you using? |
|
OS |
Windows 7, 64 it |
SIM CARD: | M-PESA | ||
Description of Problem: | We are unable to start multiple modems at once. We have written our application using JAVA, and we are using threads for each modem. The first one works fine, but the next ones fail to connect. The application complain about access. | ||
Final Solution: | We do no have Java programme in our team. We will try our best to assist you by pointing you to the right direction.The recommended way is to create an executable (.exe) for each STK modem. E.g. 8 STK modems will have 8 exe. This is easiest and safest. Threading requires programmer having good understanding of thread coding. The “MobitekSTK6.dll” is apartment threaded. Refer to http://danadler.com/jacob/JacobThreading.html “If you are using a component that declares itself as ThreadingModel “Apartment” (you can find this out by looking in the registry under its CLSID), and you plan to create, use and destroy this component in one thread – then you are following the rules of an STA and you can declare the thread as an STA thread.”We suggest that you code according to single threaded apartment (STA) instead of multi-threaded apartment (MTA). This means:-
Please refer to More Information
|
Modems in MOBITEK Q24 STK Modem Hub is Not Able to be Connected
Product: |
|
||
Which programming language are you using? |
|
OS | Windows 7, 64 bit |
Description of Problem: | Three of the modems on one of the STK Hubs we ordered are not working. I have attached logs with the request.
Analysis
Follow these steps and answer all questions:-
|
||
TROUBLE SHOOTING STEP no. 1: | Please follow and answer all questions:-
|
||
TROUBLE SHOOTING STEP no. 2: |
If the result remains “No”, then we will proceed to claim warranty. |
||
Final Solution: | We manage to check the device after opening the case, and realized the cables where disconnected. Now we have all modems working and connected. |