Solved

Re: physical layer

Posted on 2011-02-12
6
319 Views
Last Modified: 2012-05-11
hi guys. does anyone know how to import physical layer in java
0
Comment
Question by:peterade
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34879302
You really can't do anything with the physical layer in Java's native code. Java is so far removed from the physical layer that your question really doesn't make much sense.
To work with the physical layer, you'll need to either write some C code and call it from the Java code or even write some assembly code and reference that from the C code.
What exactly are you trying to do? Maybe there is a better way to get at it.
0
 
LVL 13

Expert Comment

by:George K.
ID: 34879372
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34879498
That is an example of a link layer (which is a step above the physical layer). The link layer is still rather dependent on the hardware, so the code there won't translate well to other platforms.

"The physical layer provides a bit stream interface to the link layer. This layer is very hardware-dependent."

This is why you can't write general physical layer code. It would have to specifically target the exact hardware you are using. You would need entirely different code even on the same machine if you plugged it into a different network. Also, the code would very from machine to machine even running the same OS.
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 35076192
An answer of "It can't be done." is often technically the correct answer. Experts Exchange policy is to accept that kind of answer instead of deleting the question.

It is also EE policy that you should respond to the comments from the experts before deleting a question so we know why you want to delete it. I feel we gave good answers to the question.
0
 

Author Closing Comment

by:peterade
ID: 35093592
Good answer to the question
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
maxMirror challenge 10 191
sorting efficency of sorting algorithm 30 131
Not seen Link button 5 73
Problem to copy file 14 51
Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
Prime numbers are natural numbers greater than 1 that have only two divisors (the number itself and 1). By “divisible” we mean dividend % divisor = 0 (% indicates MODULAR. It gives the reminder of a division operation). We’ll follow multiple approac…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question