Sponsored Content
Full Discussion: Need pin generation code
Top Forums Programming Need pin generation code Post 302309009 by unisuraj on Tuesday 21st of April 2009 01:29:30 AM
Old 04-21-2009
Need pin generation code

Hi
Can any one tell me from where can i get the code/library(c/c++(Sun)) for PIN generation.
Actually i need to generate a new PIN for the user in case sombody reset his PIN.

Thanks in Advance.
 

7 More Discussions You Might Find Interesting

1. Solaris

Bar code generation in to the text file and printing the same using lp command.

Hi, I need the information regaring bar code printing. I am looking for the program which runs on solaris that take number string (like mobile number, bill number etc) as input and generate bar code font in to the text file. Remember it is not the bit map. The program just writes the fonts in to... (0 Replies)
Discussion started by: Manjunath Naik
0 Replies

2. Programming

How to set the DSR pin using a C Code

Hi, I am a newbie using linux. I want to use the 9 pins of the COM port for data transmission. I am trying to write a code to toggle the DTR pin in /dev/ttyS0. Can any one help by giving a sample code or links that will help me pick up fast Regards (2 Replies)
Discussion started by: Srikanthks_2000
2 Replies

3. Shell Programming and Scripting

how to pin files to /tmp

Hi all, Am currently working on editing a startup script that need me to copy a certain file from cdrom to /tmp (its a live cd am working on)and mount if from there to certain place.. Now i know that nothing can be stored in /tmp permanently ,however mechanism to load the file to /tmp on... (19 Replies)
Discussion started by: wrapster
19 Replies

4. UNIX Desktop Questions & Answers

Pin to desktop

Hello everybody! I need some help. Is there a way to pin a window to the desktop in Linux? I have a list of tasks in Calc. And I want the window of Calc to be always before my eyes, so that it sort of reminds me of my tasks. The window must be «stuck» to the desktop, and when I click the... (0 Replies)
Discussion started by: alex777
0 Replies

5. AIX

Pin Memory Statistics

Hi, We have an issue on our lpar where the pin memory usage slowly and regularly increases approx 1.5% a day until it reaches its 80% threshold We have to regularly reboot the lpars to release the pin memory as we have found that killing all processes does not release it. However,... (1 Reply)
Discussion started by: GarciasMuffin
1 Replies

6. Shell Programming and Scripting

Prime Generation Code Not Working Properly

My code for the generation of prime numbers from 2 to a value(given at run time) as fallows is not working. Can you assist me? clear echo "Enter the Maximum Number" read max for(( i=2; i <= $max; i++ )) do if then break else for(( j=i; j <= $max/2; j++ )) do if then break else echo... (1 Reply)
Discussion started by: ash.g
1 Replies

7. Shell Programming and Scripting

Pin code counter

hello i wanted to see if anyone can analyze the following code and see where the error lies. it is supposed to echo the current date and start counting from 0000-9999 and show the approximate range that it is at. here is a pic of what the output should look like:... (3 Replies)
Discussion started by: Kooftness
3 Replies
BTPIN(1)						    BSD General Commands Manual 						  BTPIN(1)

NAME
btpin -- Bluetooth PIN utility SYNOPSIS
btpin [-P] [-d device] [-s path] {-p pin | -r [-l len]} -a address DESCRIPTION
The btpin utility is used to register a temporary PIN with the bthcid(8) daemon for the purposes of pairing Bluetooth devices. The PIN will be valid for 5 minutes or until used, whichever comes first. The options are as follows: -a address Specify the remote device address. The address can be specified as BD_ADDR or a name. If a name was specified, the btpin utility attempts to resolve the name via bt_gethostbyname(3). -d device Specify the local device address. The device can be specified by BD_ADDR or device name. See btconfig(8) for a list of devices available. If no device is specified, the PIN will be valid for any local device. -l len Specify length of PIN to generate, where 1 <= len <= 16. -P Pair with remote device. btpin will attempt to open an authenticated L2CAP connection to the Service Discovery Service on the remote device, to force immediate pairing. -p pin The PIN to register. The PIN may be up to 16 bytes in length. -r Generate a random PIN, the default length is 4 bytes. -s path Specify path to the control socket. The default path is /var/run/bthcid. EXIT STATUS
The btpin utility exits 0 on success, and >0 if an error occurs. FILES
/var/run/bthcid SEE ALSO
btkey(1), btconfig(8), bthcid(8) AUTHORS
Iain Hibbert for Itronix, Inc BSD
May 16, 2009 BSD
All times are GMT -4. The time now is 08:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy