− | #* If you have set SMS login and password: <code>login pass log2srv 1,<u>19</u>,'''APN''','''APNusername''','''APNpassword''','''IP''','''port''',1200,0</code><p>'''APN''' - Operator APN name of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''APNusername''' - Operator APN username of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''APNpassword''' - Operator APN password of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''IP''' - External IP address of the computer to which the device will connect.</p><p>'''port''' - Opened TCP port (used in '''Hercules''') of external ip address to which the device will connect.</p><p>Command example: <code>opa opa log2srv 1,<u>19</u>,banga,,,212.59.13.226,7056,1200,0</code></p> | + | #* If you have set SMS login and password: <code>login pass log2srv 1,<u>16</u>,'''APN''','''APNusername''','''APNpassword''','''IP''','''port''',1200,0</code><p>'''APN''' - Operator APN name of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''APNusername''' - Operator APN username of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''APNpassword''' - Operator APN password of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''IP''' - External IP address of the computer to which the device will connect.</p><p>'''port''' - Opened TCP port (used in '''Hercules''') of external ip address to which the device will connect.</p><p>Command example: <code>opa opa log2srv 1,<u>16</u>,banga,,,212.59.13.226,7056,1200,0</code></p> |
− | #* If SMS login and password are not set to leave two spaces before the command: <code><span style="color:#f8f9fa">aa</span>log2srv 1,<u>19</u>,'''APN''','''APNusername''','''APNpassword''','''IP''','''port''',1200,0</code><p>If the command was sent correctly you should receive SMS Response:<code>LOG2SRV OK=1, 19, IP, port, 1200, 0</code></p><p>[[File:Alert.png|50px|left|link=]]<b>Up to 5 minutes delay could appear if wrong <code>log2srv</code> commands settings will be sent, during that time no SMS or GPRS command could be received. SMS will be hanging, after timeout, hanging SMS’s will be proceeded.</b></p> | + | #* If SMS login and password are not set to leave two spaces before the command: <code><span style="color:#f8f9fa">aa</span>log2srv 1,<u>16</u>,'''APN''','''APNusername''','''APNpassword''','''IP''','''port''',1200,0</code><p>If the command was sent correctly you should receive SMS Response:<code>LOG2SRV OK=1, 16, IP, port, 1200, 0</code></p><p>[[File:Alert.png|50px|left|link=]]<b>Up to 5 minutes delay could appear if wrong <code>log2srv</code> commands settings will be sent, during that time no SMS or GPRS command could be received. SMS will be hanging, after timeout, hanging SMS’s will be proceeded.</b></p> |