i connect the diebold 912 atm directly to my pc with tcp/ip connection which
is configured as server.
i run my jpos client application, the atm and my application are now
connected, the atm is online but out of service. my problem now is how can i
send the go in service command message to the atm through my application and
how can i use it with FSDMsg.
Thanks in advance for your help.
--
View this message in context: http://www.nabble.com/DDC-ATM-Emulator-tp23384576p23384576.html
Sent from the jPOS - Users mailing list archive at Nabble.com.
Perhaps we are missing something?
So you have :-
- an active jPOS server (of some sort)
- that uses a Channel (that is compatible with the network protocol of
the ATM
- a Packager - perhaps using an FSDMsg schema that matches and supports
the ATM message format.
- and can thus generate an FSDISOMsg (and it can be packed).
Are you the same wshehab that in November of 2008 I discussed using
FSDMsg to talk to an HSM:-
?
If so, you already have the knowledge, if not, you now have a place to
start.
Just as you might be talking to a device (HSM) with FSDMsgs now you can
talk to your ATM too.
--
Mark
Using the document you have, can you show us here what a 'go in service'
message looks like?
We are particular interested in the variable field without a separator...
... is it the last field in the message?
Please try and use your own words as much as possible, I would hate you
to breach anyone's copyright.
--
Mark
You are very kind...
>
> The Go In service message looks like :
>
> F1 : Terminal Command : (1 digit) Value 1
> Field Separator
> F2 : Logical Unit Number (Optional 3 or 9 digits): Value "000000001"
> Field Separator
> F3 : Message Sequence Number (Optional 3 digits): Value "123"
> Field Separator
> F4 : Command Code : (1 digit) Value 1 : means Go in-service
On the fields with separators what are the maximum field lengths?
Is F4 a fixed length of 1 digit (byte), or is this the variable field
that doesn't have a separator?
What would happen if a field separator was present in the message after
this last mandatory field (F4), but no more field followed, would this
result in a reject?
>
> All Remaining Fields are Optional
If the remaining fields whilst optional were present, would F4 be
followed by a Field Separator?
>
> The Field Separator is one hexa char, Communication header is not included
> for simplification.
Ok, sounds normal.
Is the header complex or a fixed length and content?
--
Mark
This just couldn't be simpler. The examples and references already
given hold all of the detail needed to build such a basic message (and
extend it later).
Don't forget wshehab is *already* using FSDMsg schema for his HSM
communication...
... copying and amending one of these would take less time than I have
taken to respond!
For such a simple item, why not build the message by hand until time can
be found to understand the FSDMsg schema?
I feel embarrassed not to write this 4/5 line schema for wshehab , but
then I would be giving wshehab some fish lips rather than wshehab
learning how to fish.
I must remember though that this is like fishing with a credit card at a
fishmongers...
... I feel less embarrassed already!
>> What would happen if a field separator was present in the message after
>> this last mandatory field (F4), but no more field followed, would this
>> result in a reject?
>
> The message is to be packed by JPOS and unpacked by the terminal, that means
> that the JPOS application could include only these mandatory fields, no
> reject will result at the terminal side.
Ok, so it can be represented as a field with a separator *without* problem.
The only real question raised has been answered - all fields can have
separators; there is no magic needed.
>
>> Is the header complex or a fixed length and content?
> The header is 2 or 4 bytes message length to be managed by the channel and
> not by the packager.
So I would not refer to this as a header, I would call this the message
length 8).
--
Mark