JCOP emulator insert card event
Hello,
I�m connecting remotelly to the IBM JCOP Tools emulator. I�m using the following demo code but the application waits for ever for a card inser event. Because this is an emulator I don�t know how to do an insert card...
Any ideas?
Thanks a lot,
Gonzalo
private static void ejecuta()
try
// Initialize OCF
SmartCard.start();
// Wait for a smart card
CardRequest cr = new CardRequest(CardRequest.NEWCARD, null,
OCFCardAccessor.class);
// HERE IT WAITS FOR EVER!!!!
SmartCard myCard = SmartCard.waitForCard(cr);
// Get an OCFCardAccessor for Java Card RMI
CardAccessor ca = (CardAccessor)
myCard.getCardService(OCFCardAccessor.class, true);
// Create a Java Card RMI instance
JavaCardRMIConnect jcRMI = new JavaCardRMIConnect(ca);
// Create a Java Card Proxy Factory that is used for dynamic
// proxy generation.
CardObjectFactory factory = new JCCardProxyFactory(ca);
// select the Java Card applet
jcRMI.selectApplet(MY_APPLET_AID, factory);
// Get the initial reference
Purse purseInterface =
(Purse) jcRMI.getInitialReference();
if(purseInterface == null)
throw new Exception("Received null instead of the initial ref");
// Invoke the remote getBalance() method
short balance = purseInterface.getBalance();
System.out.print("balance: " + balance);
catch(UserException e)
Hello Jan,
I told you the wrong behabeur... The waitForCard is not the problem the problem is some place else.
Thanks for your help, this is my first JavaCard program and I�m really lost...
This is my opencard.properties:
# Open Card Service
OpenCard.services = opencard.opt.util.PassThruCardServiceFactory
OpenCard.terminals = jcopterminal.WrapperFactory|JCOPTerminal|Remote|localhost:8050
# TRACE configuration #
OpenCard.trace = opencard:8
This is the log of the error I�m getting:
ERROR
INFO ] opencard.core.service.CardServiceRegistry.getCardServiceClass
--- message no CardService for class com.sun.javacard.ocfrmiclientimpl.OCFCardAccessor
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[INFO ] opencard.core.service.CardServiceRegistry.isCardRequestSatisfied
--- message requested CardService class class com.sun.javacard.ocfrmiclientimpl.OCFCardAccessor not supported for opencard.core.terminal.CardID@1016632 ATR: 3B F8 95 00 00 81 31 FE 45 00 73 C8 40 13 00 90
00 1E
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[INFO ] opencard.core.service.CardServiceRegistry.getSmartCard
--- message CardRequest opencard.core.service.CardRequest@1865b28 ANYCARD
service = class com.sun.javacard.ocfrmiclientimpl.OCFCardAccessor cannot be satisfied with opencard.core.terminal.CardID@1016632 ATR: 3B F8 95 00 00 81 31 FE 45 00 73 C8 40 13 00 90
00 1E
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
FULL LOG
[DEBUG ] opencard.core.service.SmartCard.getRegistryEntry
--- message tag OpenCard.terminals = jcopterminal.WrapperFactory|JCOPTerminal|Remote|localhost:8050
--- thread Thread[main,5,main]
--- source class opencard.core.service.SmartCard
[DEBUG ] opencard.core.terminal.CardTerminal.<init>
--- message (JCOPTerminal, Remote, localhost:8050)
--- thread Thread[main,5,main]
--- source class opencard.core.terminal.CardTerminal
[DEBUG ] opencard.core.service.CardServiceRegistry.<init>
--- message instantiating
--- thread Thread[main,5,main]
--- source class opencard.core.service.CardServiceRegistry
[DEBUG ] opencard.core.service.SmartCard.getRegistryEntry
--- message tag OpenCard.services = opencard.opt.util.PassThruCardServiceFactory
--- thread Thread[main,5,main]
--- source class opencard.core.service.SmartCard
[DEBUG ] opencard.core.service.CardServiceFactory.<init>
--- message instantiating
--- thread Thread[main,5,main]
--- source class opencard.core.service.CardServiceFactory
[DEBUG ] opencard.opt.service.OCF11CardServiceFactory.<init>
--- message instantiating
--- thread Thread[main,5,main]
--- source class opencard.opt.service.OCF11CardServiceFactory
[DEBUG ] opencard.core.service.CardServiceRegistry.add
--- message opencard.opt.util.PassThruCardServiceFactory@92bbba
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6
[DEBUG ] opencard.core.service.SmartCard.<start>
--- message finished
--- thread Thread[main,5,main]
--- source class opencard.core.service.SmartCard
[DEBUG ] opencard.core.service.SmartCard.waitForCard
--- message passing request opencard.core.service.CardRequest@1865b28 ANYCARD
service = class com.sun.javacard.ocfrmiclientimpl.OCFCardAccessor to CardServiceRegistry
--- thread Thread[main,5,main]
--- source class opencard.core.service.SmartCard
[DEBUG ] opencard.core.service.CardWaiter.<init>
--- message Request: opencard.core.service.CardRequest@1865b28 ANYCARD
service = class com.sun.javacard.ocfrmiclientimpl.OCFCardAccessor
--- thread Thread[main,5,main]
--- source class opencard.core.service.CardWaiter
[DEBUG ] opencard.core.service.CardWaiter.cardInserted
--- message CTEvent: opencard.core.event.CardTerminalEvent[source=jcopterminal.JCOPTerminal@4ac00c
+ name JCOPTerminal
+ type Remote
+ addr localhost:8050]
---source jcopterminal.JCOPTerminal@4ac00c
+ name JCOPTerminal
+ type Remote
+ addr localhost:8050
---id 1
card inserted in slot 0
terminal jcopterminal.JCOPTerminal@4ac00c
+ name JCOPTerminal
+ type Remote
+ addr localhost:8050
--- thread Thread[main,5,main]
--- source class opencard.core.service.CardWaiter
[DEBUG ] opencard.core.service.CardServiceRegistry.getSmartCard
--- message CTEvent opencard.core.event.CardTerminalEvent[source=jcopterminal.JCOPTerminal@4ac00c
+ name JCOPTerminal
+ type Remote
+ addr localhost:8050]
---source jcopterminal.JCOPTerminal@4ac00c
+ name JCOPTerminal
+ type Remote
+ addr localhost:8050
---id 1
card inserted in slot 0
terminal jcopterminal.JCOPTerminal@4ac00c
+ name JCOPTerminal
+ type Remote
+ addr localhost:8050
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[DEBUG ] jcopterminal.JCOPTerminal.openSlotChannel
--- message for slot #0
--- thread Thread[main,5,main]
--- source jcopterminal.JCOPTerminal@4ac00c
+ name JCOPTerminal
+ type Remote
+ addr localhost:8050
[DEBUG ] jcopterminal.JCOPTerminal.openSlotChannel
--- message new SlotChannel is opencard.core.terminal.SlotChannel@9e29fb
+ state open
--- thread Thread[main,5,main]
--- source jcopterminal.JCOPTerminal@4ac00c
+ name JCOPTerminal
+ type Remote
+ addr localhost:8050
[DEBUG ] opencard.core.service.CardServiceRegistry.allocateCardServiceScheduler
--- message instantiating CardServiceScheduler
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[DEBUG ] opencard.core.service.CardServiceScheduler.<init>
--- message slotChannel opencard.core.terminal.SlotChannel@9e29fb
+ state open
--- thread Thread[main,5,main]
--- source class opencard.core.service.CardServiceScheduler
[DEBUG ] opencard.core.service.CardChannel.<init>
--- message (opencard.core.terminal.SlotChannel@9e29fb
+ state open)
--- thread Thread[main,5,main]
--- source class opencard.core.service.CardChannel
[DEBUG ] opencard.core.service.CardServiceRegistry.getCardServiceClass
--- message for class com.sun.javacard.ocfrmiclientimpl.OCFCardAccessor and opencard.core.terminal.CardID@1016632 ATR: 3B F8 95 00 00 81 31 FE 45 00 73 C8 40 13 00 90
00 1E
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[DEBUG ] opencard.core.service.CardServiceRegistry.getCardServiceClass
--- message checking opencard.opt.util.PassThruCardServiceFactory@92bbba
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[DEBUG ] opencard.opt.util.PassThruCardServiceFactory.getClassFor
--- message checking class opencard.opt.util.PassThruCardService
--- thread Thread[main,5,main]
--- source opencard.opt.util.PassThruCardServiceFactory@92bbba
[DEBUG ] opencard.core.service.CardServiceRegistry.getCardServiceClass
--- message factory opencard.opt.util.PassThruCardServiceFactory@92bbba produced null
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[INFO ] opencard.core.service.CardServiceRegistry.getCardServiceClass
--- message no CardService for class com.sun.javacard.ocfrmiclientimpl.OCFCardAccessor
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[INFO ] opencard.core.service.CardServiceRegistry.isCardRequestSatisfied
--- message requested CardService class class com.sun.javacard.ocfrmiclientimpl.OCFCardAccessor not supported for opencard.core.terminal.CardID@1016632 ATR: 3B F8 95 00 00 81 31 FE 45 00 73 C8 40 13 00 90
00 1E
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[INFO ] opencard.core.service.CardServiceRegistry.getSmartCard
--- message CardRequest opencard.core.service.CardRequest@1865b28 ANYCARD
service = class com.sun.javacard.ocfrmiclientimpl.OCFCardAccessor cannot be satisfied with opencard.core.terminal.CardID@1016632 ATR: 3B F8 95 00 00 81 31 FE 45 00 73 C8 40 13 00 90
00 1E
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@162dbb6++ registered factory opencard.opt.util.PassThruCardServiceFactory@92bbba
[DEBUG ] opencard.core.service.CardServiceScheduler.closeDown
--- message closing down scheduler
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceScheduler@b8deef, is alive
[DEBUG ] opencard.core.service.CardChannel.closeFinal
--- message closing for good
--- thread Thread[main,5,main]
--- source opencard.core.service.CardChannel@1342ba4, not open, not jammed
[DEBUG ] opencard.core.service.CardChannel.close
--- message CardChannel closed
--- thread Thread[main,5,main]
--- source opencard.core.service.CardChannel@1342ba4, not open, not jammed
[DEBUG ] opencard.core.terminal.SlotChannel.close
--- message closing channel
--- thread Thread[main,5,main]
--- source opencard.core.terminal.SlotChannel@9e29fb
+ state open
-----------------------------------------------------------------------------------------------
Similar Messages
-
Fax and modem via Drop & Insert card (VWIC 2MFT-E1-DI)
Currently installing pair of 2610XM rtrs with Drop & Insert cards (VWIC 2MFT-E1-DI) between them.
At each side there is PABX connected via E1 to Drop&Inser card, and 2Mbs leased line between locations.
Configured 15 CH for data and 15 CH for voice.
Data works fine.
Voice services work fine as well, BUT!!!
- When trying to use analog modems between locations its not working
- When trying to send fax between locations, its hardly working (i.e. 1/10 success & even then copy is hardly readable).
All problems not present when I bypass routers and 2Mbs leased line with 120Ohm cable.
Any knowledge about similar problems?
Any tip for sorting this kind of problems, or this is by default behavior for such setup?Thanks for tip, sorry for delay in reply (I was on leave).
re synchronization, it is properly synchronized (as you can see in output attached.
All other phone services/functions (standard voice calls, CallBack, CLIP etc.) and data transfer is working fine. If any problems with link sync I suppose there should be some problems with those as well.
rtr#sh controller e1 0/0
E1 0/0 is up.
Applique type is Channelized E1 - balanced
Description: Connecton to 2Mbs leased line
No alarms detected.
alarm-trigger is not set
Version info Firmware: 20011015, FPGA: 11
Framing is CRC4, Line Code is HDB3, Clock Source is Line.
Data in current interval (530 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
Data in Interval 1:
! each Interval equals 900 Secs (15 min)
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
Data in Interval 2:
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
! etc, etc. Data in Interval XX: -
I put in the redemption code on the insert-card but am told that it is wrong. What do I do?? I know I put the code in correctly.
Thanks
Anitra Gordonstart here, Redemption Code Help
if that doesn't help you solve the problem, contact adobe support
https://helpx.adobe.com/contact.html -
Confusion re: photostream, import from memory card, events, etc.
confusion re: photostream, import from memory card, events, etc.
Up until a few weeks ago, my travel-photo-handling went like this:
Each night, I download photos to my iPad for safekeeping. They, of course, wind up in Photostream.
When I return home, I connect my camera card to my iMac (where I have my iPhoto library), and I can "see" the photos on my memory card - the photos which, although in Photostream, I have not yet manually downloaded.
I select and ownload them.
New Events are created in my Library automatically, as I have my preference set to Autosplit Events.
This week, I came home from a trip during which I had downloaded to iPad during my time away.
I connected my memory card to the iMac.
iPhoto did not "see" any photos to import - as far as iPhoto was concerned, those photos were already in my Library.
I had iPhoto show all photos on my card, selected the photos from my trip (I shot over 1000) and clicked "Import Selected"
iPhoto says they're duplicates.
However, the photos have NOT been downloaded manually and there are NO Events in my Library for those days.
Note: yeah, they're in Photostream, but IN THE PAST - and I mean literally up until 3 weeks ago - the photos have ALWAYS been "visible" and importable even if in Photostream, as long as I had not yet manually downloaded to the computer.
So my question, I guess, is multi-part:
What changed in iPhoto and/or Photostream in the past couple of weeks?
Why are Photostream photos suddenly considered to be the same as the photos on my card which have not yet been manually downloaded to the computer?
What the heck is going on?
I hate having duplicates, but I also hate being confused by something that used to be really easy, then - with Photosream - became annoying, and is now simply perplexing and sometimes imcomprehendable.Check iPhoto's Photo Stream preference pane to see if the highlighted checkbox in the screenshot below is checked. If it is then all photos taken by the iPad are automatifdally being imported into your library.
Go the the Events mode and check the View ➙ Sort menu option to verify where new Evens will be located, at the top of the window or the bottom. Then check to see if your PS pictures are there.
As a test launch iPhoto with the Option key held down and create a new, test library. Connect your iPad and import all photos. Dismount the iPad, close and reopen the test library, connect the iPad again and test to see if the same problem persists. Does it?
If it does'nt then your current library is damaged and needs to be repaired.
OT -
Photos on SD card missing after removing and inserting card without umount
Hi!
I am running Tiger 10.4.11 on my old Powerbook G4 12inch. I am hoping to get some help on an issue which resulted in some photos "disappearing" from an SD card. The story goes as follows:
On day 1 I plugged in the SD card using a USB card reader to my Powerbook. The SD card mounted correctly and I could see my photos (~100). I then closed the Powerbook without ejecting or umounting the SD card. The Powerbook went to sleep and I then unplugged the SD Card.
The next day I then went and took another ~30 photos with my camera using the same SD card. I could see that I had ~130 photos using my camera's built-in viewer.
I opened my Powerbook and it came out from sleep. I then inserted the SD card into the USD adapter again. The funny thing is that the Powerbook only showed the ~100 original photos still. I then tried to eject the SD card but MacOS showed an error saying that the volume is in use so can not be umounted. I then unplugged my SD card.
Following this I can no longer see the ~30 photos on my camera's display either. I have also tried various file recovery programs on Mac OS 10.4, 10.6 and Vista, none show the ~30 "missing" photos. I have also tried to look for any hidden files using terminal with "ls -al" in all the directories but with no luck. The trash can also is empty.
I am guessing that by not umounting the SD card and then inserting it again the OS was still using old FAT tables or something along those lines (speculating here). The question is, any chance of recovery or any other strategies you can suggest to help?
Thank you very much in advance and best wishes.
OyvindYou may have been able to try and use Disk Utility to repair file damage on
the SD card's storage; but the actual damage due to improper unmounting
in the first instance is carried over to the last. So corruption of them is likely.
There may be some third party utility for helping restore or recover data
from these camera flash memory cards, that may help. Sometimes, it
may be possible to see if the OS X Disk Utility can try to fix the files, but
that may also change them or make them unrecoverable by another kind
of utility. While I don't have experience recovering lost or erased images
from camera memory cards, I do know such software utilities for just this
purpose do exist. Initially, a few years ago, I noticed a freeware utility was
offered as well as a few shareware downloads that would work, for a fee.
Maybe that is the direction to check into, and see if you can repair and
recover the images which were subject to damage or corruption due to
the improper unmounting and remounting of the SD. These items act
just like any external hard disk drive, and need to be handled the same.
Good luck & happy computing! -
J2ME Emulation of Pointer Events
I'm trying to develop a J2ME applet that uses Pointer Events, but for some reason this is NOT SUPPORTED by the J2ME Wireless Toolkit 2.5.1, nor can I find any other stand-alone emulators that do either.
Does anyone know where I can find a J2ME emulator that supported POINTER EVENTS (i.e. mouse clicks) in the Canvas class. Otherwise, it seems the only way I'm going to be able to test any development work I do with the pointer functions is to load the applet onto a device with a touch screen, which seems to defeat the purpose of an emulator.
Thanks in advance.Hi,
it�s quite simple. The emulator of the WTK 2.5.1supports the touch screen option. You just have to enable it in the properties file.
Look in the properties file of the device you are using for your tests (For example "C:\WTK2.5.1\wtklib\devices\QwertyDevice\QwertyDevice.properties") and change the property for the touch_screen to "touch_screen=true"
That�s all. Afterwards the device supports the pointer events and you can do all the tests on the emulated device that you need.
Regards
li73772 -
JCOP and Java Card Reference Implementation
Hello,
is it possible to use the JCOP tool to debug or run an applet not on only on the simulation of the JCOP cards, but also on the Java Card Reference Implementation?
If yes, how can I do it?
ThanksThat would be interesting to see. I don't think it would be benefcial, simply because the JCOP uses additional features that aren't found in the JCREF, like Global Platform. Therefore, your applet downloads wouldn't work because of the difference in APDU commands. Also I don't know how the IDE debugging would handle it.
I'd like to see if JPCSC can work with JCREF for sending APDU commands. -
How can I insert an event in my clendar and set it to repeat every 3 months?
Anybody knows how can I create an event on my iphone 5 calendar and set it torepeat every 3 months?
If you happen to have Apple computer(s), and you are synching your iPhone calendar to your computer's calendar, you can set up an "every 3 month" period on your computer. Simply use the calendar app on your Apple computer, access the event, access "Repeat", choose "custom", then "Monthly", then set up the interval you want. It will sync with and properly be represented on your iPhone.
-
Inserting Metadata events in a live stream using non-flash client app
Hi all,
I wish to insert captions into a live flash video stream.
I found an example here : http://www.adobe.com/devnet/flashmediaserver/articles/metadata_video_streaming_print.html
but this example uses a Flash client app wich can invoke something like
video_nc.call("sendDataEvent",null,inputfield_txt.text);
How can do this without any Flash client/environment ? (I of course still use an FMS 3.5)
I would like to use a python (or php...whatever) piece of code to extract caption from VBI in the incoming video stream and insert it in the flash stream.
Any help / experience appreciated.
Regards
MichelWell, I'll ask it a different way :
Is there any documentation on the protocol used between Flash client and FMSI so that I can "fake" the flash client using php ?
Is there a way to call sendDataEvent function on the FMSI NOT using a Flash client ?
Thanks
Regards -
Sky box no signal when i insert card
My OLD Thompson multiscreen sky box has started playing up since i got delivery off a Hd box downstairsI can watch free to air channels until i put my sky card in then it says no signal!
long story but here goessky + box stopped workingphoned sky and theu said an engineer would deliver and install a new hd box in three days free of chargealso upgraded to family pack from variety to see box sets etc - said this would not extend my contractgot email to confirm thisengineer calls installs and goes - everything seems good!box sets last two days then stop working?when on my sky and see family pack needs activated - fixed againnext day stops working so go back to my sky and says i need to pair my viewing cardthis doesnt help so phone skynice man says that he can fix itnotices my account has three boxes on itdeletes a box and tries to put family pack pack onasks me if i just upgraded as my contract is for a year -noooooosays that he can offer me a dealthen cant put it on system so arranges a call back for the next dayno callphone sky again and yet again im in contract for a yearmy bill is all over the place as they now have me as having two multiscreen boxes?arrange another callback as cant be fixed as the first callback has to be off the systemson comes down and says his mutiscreen has stopped working-no signalcheck dish and cable looks goodtake multiscreen box to downstairs were hd box is working and same resultphone skythe nice man asks me to check cable etci explain i have and its the boxtrys to sell me new box which i declinesays to try taking card out and turning off (which ive done ten times)just this time i am on signal test screen and notice the bar go up as i remove cardturn onto bbc1 and hey prestoput card back in and no signalive now got a freeview boxnice man says he will CALLBACKHELPPPPPPPPPPPP
-
Any one know how to insert an event into a certain year in Imovie08
Hi All,
I am starting to move my D8 movies to my Mac. In Imovie08 Some seem to realize what year the video was shot some don't. It adds by year 2001-2002 etc and puts the movies shot under that event year. My last import went under 2007 even thought it was shot in 2002. When I tried to drag it, it tried to merge with the other video under 2002 instead of being a separate event. Any thoughts?
GEIn Imovie08 Some seem to realize what year the video was shot some don't. It adds by year 2001-2002 etc and puts the movies shot under that event year.
This is normal depending on how the video was digitized, whether or not a "real" DTG Stamp was generated, or whether or not the stamp is "properly" recognized.
My last import went under 2007 even thought it was shot in 2002. When I tried to drag it, it tried to merge with the other video under 2002 instead of being a separate event. Any thoughts?
When no stamp exists or is recognized, the "Creation" date is used. Improperly recognized stamps may generate an erroneous date. In either case, the easiest thing to do is change the file creation date. There are several ways to do this but I now tend to prefer a little utility called "A Better Finder Attributes." Just open the application, drop the "iMovie Events" folder file(s) to the "batch" area of the utility, set the date you want, and press "OK" to change their dates. The next time you open iMovie '08, the clips will be in the same folder name but the folder will appear under the calendar year to which you changed the clip file creation dates. -
Lync 2010 Populating Contact Card - Event 21034
Hello all -
Question - we are getting the Event ID 21034. I understand why, but my question is this. In ADUC we have the Telephone Number (DID) in the Office Field listed as xxx.xxx.xxxx and the Extension listed in the Telephone Number field as XXXX (all have four digits)
that begin with 5xxx
I am interested in how I can populate these fields in Lync correctly via a normalization .txt file.
Also some users, have the same above except the DID is 800.xxx.xxxx, ext. 5xxx populated in the Office Field in ADUC and the Telephone Number is same.
Also, any exact examples would be greatly appreciated.
Thanks,
ChrisHi,
For the number xxx.xxx.xxxx ext=5xxx, you can try the following normalization rule and then test if it works:
(\d{10})[Xx]{1}5(\d{3})
+8621$1;ext=$2.
The 86 is the CountryCode, and the 21 is the City/AreaCode. You can change it to your Country.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Listing available Terminals with Jcop off-card API
Hi all,
I'm using the off-card API provided with JCOP to build some off-card programs, and also I'm using 3 SmartCard readers (2 USB and 1 on serial port COM1).
Is there a way to list (and to get) these available terminal from within the off-card API using the JCTerminal & co classes ?
I'm building an instance of PCSCJCTerminal this way :
private static JCTerminal ter = null;
ter = (PCSCJCTerminal)JCTerminal.getInstance("PCSC", null);It's working fine when I plug my SIM Card into any of my three readers, but I want to specify to getinstance method which Terminal to use.
How to do it please.
Thank you very much
KartagosI'm using the off-card API provided with JCOP to
build some off-card programs, and also I'm using 3
SmartCard readers (2 USB and 1 on serial port COM1).
Is there a way to list (and to get) these available
terminal from within the off-card API using the
JCTerminal & co classes ? There is a "unofficial" way to this. I have made some "internal research" to the JCOP classes and found the following:
import com.linuxnet.jpcsc.Context;
import com.linuxnet.jpcsc.PCSC;
Context contextJPCSC = new Context();
contextJPCSC.EstablishContext(PCSC.SCOPE_SYSTEM, null, null);
String[] terminalNames = contextJPCSC.ListReaders();For beeing flexible to add the JCOP emulator to that list, I use only the base class JCTerminal:
terminal = JCTerminal.getInstance("PCSC", terminalName);
terminal = JCTerminal.getInstance("Remote",<Portnumber or null=port 8050>);Jan -
Hi,
I am using the JCOP off-card API to send commands to both Java and native cards. I noticed a strange behavior when sending a SELECT APDU to a native card using the JCard.send() method. The command is a select command like: C0A40000023F00 and it produces a 67 00 error which means: "wrong length". The length of the data is correct and the commands works fine when send through a normal PC/SC application. All other APDUs i have tried work fine!
Could this be a bug in the JPCSC implementation?
Regards,
IliasI'm using the off-card API provided with JCOP to
build some off-card programs, and also I'm using 3
SmartCard readers (2 USB and 1 on serial port COM1).
Is there a way to list (and to get) these available
terminal from within the off-card API using the
JCTerminal & co classes ? There is a "unofficial" way to this. I have made some "internal research" to the JCOP classes and found the following:
import com.linuxnet.jpcsc.Context;
import com.linuxnet.jpcsc.PCSC;
Context contextJPCSC = new Context();
contextJPCSC.EstablishContext(PCSC.SCOPE_SYSTEM, null, null);
String[] terminalNames = contextJPCSC.ListReaders();For beeing flexible to add the JCOP emulator to that list, I use only the base class JCTerminal:
terminal = JCTerminal.getInstance("PCSC", terminalName);
terminal = JCTerminal.getInstance("Remote",<Portnumber or null=port 8050>);Jan -
When I insert an SD card into the iMac nothing happens. It worked until today, when I double clicked on the SD card icon on the desktop and then it disappeared! Cannot find in "Finder". iPhoto does not open upon inserting card. Reformatted card with device (camera). Used Time machine to restart computer before the double click occurence...did not lhelp. Any suggestions?
Have a look in Finder Preferences: Click on the desktop, Finder>Finder Preferences.General tab - is there a tick in "External Disks'? If not, tick it.
Maybe you are looking for
-
i want to update my iphone 3G via iTunes but it seems me an error while
-
hai sir this is surendra i am doing an academic project that is a web-site like orkut if a user want to see all his friends/groups then a single page is not enough to show all .So i need to use page navigation concept here.Please any one of you tell
-
Point of Sale machines to create sales orders
Hello, We are on 4.7 and not able to use Netweaver for the moment. Does anybody have any ideas about moving point of sale information from the machines into SAP? The machines do not come with a data converter, this would be done in an ABAP program.
-
Slow Time Machine in Mac OS X 10.5.8 on a three years old MacBook Pro?
Hi. Is it me or does it take forever (e.g., a couple hours) to back up about 42 GB through USB 2.0? Thank you in advance.
-
Drag and drop doesn´t work with photoshop
Hi, I can't open any files in ps anymore by simply drag and drop the file on the ps app. open with in the context menue doesn't help either, ps is called up, but the file is not opened. looks like some other people had the same problem, but the links